summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2006-05-22 22:48:22 +0000
committersabetts <sabetts>2006-05-22 22:48:22 +0000
commit223a2ab205969ea090d5c80bb2a430c0e51b75ae (patch)
treeb8595a9ad3ecf6515c0d1de1f737014a44d21cd4 /src/actions.c
parent4c5a5fe2c076cfd76cc1aba01ce211544787f1a1 (diff)
downloadratpoison-223a2ab205969ea090d5c80bb2a430c0e51b75ae.zip
*** empty log message ***
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c
index 9ee7bd7..9c097db 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -2322,7 +2322,10 @@ command (int interactive, char *data)
cmd = strtok (input, " ");
if (cmd == NULL)
- goto done;
+ {
+ result = cmdret_new (RET_FAILURE, NULL);
+ goto done;
+ }
rest = strtok (NULL, "\0");