summaryrefslogtreecommitdiffstats
path: root/src/cmd/shell.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-01-17 09:58:57 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-01-17 09:58:57 (EST)
commitf1e6bfe98a1dd8fc0a2b8d4f117bf77b6a5cb6aa (patch)
tree89cc99a63faddaaef5586fcf31d00f88246cd685 /src/cmd/shell.sh
parent3a4fe66ffc3b19ef9b5f4bb6c80ba2c2219be866 (diff)
cmd/*: s/exit/return/
Diffstat (limited to 'src/cmd/shell.sh')
-rw-r--r--src/cmd/shell.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/shell.sh b/src/cmd/shell.sh
index e761f55..578e5d1 100644
--- a/src/cmd/shell.sh
+++ b/src/cmd/shell.sh
@@ -25,7 +25,7 @@ cmd_shell_main()
if [ ${#} -lt 1 ]; then
print_cmd_usage 'shell' >&2
- exit 1
+ return 1
fi
root="${1}"