summaryrefslogtreecommitdiff
path: root/Command/Init.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Init.hs')
-rw-r--r--Command/Init.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Init.hs b/Command/Init.hs
index a6d72e422..bbabdc4c2 100644
--- a/Command/Init.hs
+++ b/Command/Init.hs
@@ -27,5 +27,5 @@ start ws = do
perform :: String -> CommandPerform
perform description = do
- initialize (Just description)
+ initialize $ if null description then Nothing else Just description
next $ return True