diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -60,7 +60,9 @@ int main(int argc, char *argv[]) { ret = eval_cmdline(cmdline); } - free_cmdline(cmdline); + if (free_cmdline(cmdline) != 0 && ret == EXIT_SUCCESS) { + ret = EXIT_FAILURE; + } done: return ret; |