summaryrefslogtreecommitdiffstats
path: root/lib/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cmd')
-rw-r--r--lib/cmd/installer-pc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cmd/installer-pc.sh b/lib/cmd/installer-pc.sh
index 7a12e1a..69381d0 100644
--- a/lib/cmd/installer-pc.sh
+++ b/lib/cmd/installer-pc.sh
@@ -43,11 +43,11 @@ cmd_installer_pc_main()
fi
shift $(($OPTIND - 1))
- if [ "x${cmd_installer_pc_opt_a+set}" != 'xset' ]; then
+ if [ "x${cmd_installer_pc_opt_a-}" = 'x' ]; then
print_cmd_usage 'installer-pc' >&2
exit 1
fi
- if [ "x${cmd_installer_pc_opt_p+set}" != 'xset' ]; then
+ if [ "x${cmd_installer_pc_opt_p-}" = 'x' ]; then
print_cmd_usage 'installer-pc' >&2
exit 1
fi