summaryrefslogtreecommitdiffstats
path: root/src/cmd/installer-pc.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/installer-pc.sh
parent3a4fe66ffc3b19ef9b5f4bb6c80ba2c2219be866 (diff)
cmd/*: s/exit/return/
Diffstat (limited to 'src/cmd/installer-pc.sh')
-rw-r--r--src/cmd/installer-pc.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/installer-pc.sh b/src/cmd/installer-pc.sh
index f9fd509..0ecca4b 100644
--- a/src/cmd/installer-pc.sh
+++ b/src/cmd/installer-pc.sh
@@ -33,21 +33,21 @@ cmd_installer_pc_main()
if ! get_options "${@}"; then
print_cmd_usage 'installer-pc' >&2
- exit 1
+ return 1
fi
shift $(($OPTIND - 1))
if [ "x${cmd_installer_pc_opt_a-}" = 'x' ]; then
print_cmd_usage 'installer-pc' >&2
- exit 1
+ return 1
fi
if [ "x${cmd_installer_pc_opt_p-}" = 'x' ]; then
print_cmd_usage 'installer-pc' >&2
- exit 1
+ return 1
fi
if [ ${#} -ne 2 ]; then
print_cmd_usage 'installer-pc' >&2
- exit 1
+ return 1
fi
suite="${1}"