diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/actions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c index 2b34a5f..dabb8e5 100644 --- a/src/actions.c +++ b/src/actions.c @@ -2465,7 +2465,7 @@ command (int interactive, char *data) /* Append any arguments onto the end of the alias' command. */ s = sbuf_new (0); sbuf_concat (s, alias_list[i].alias); - if (rest != NULL) + if (rest != NULL && *rest) sbuf_printf_concat (s, " %s", rest); alias_recursive_depth++; |