summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr')
-rwxr-xr-xsrc/usr/local/sbin/pfSense-upgrade4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/local/sbin/pfSense-upgrade b/src/usr/local/sbin/pfSense-upgrade
index 525c6eb..94b965c 100755
--- a/src/usr/local/sbin/pfSense-upgrade
+++ b/src/usr/local/sbin/pfSense-upgrade
@@ -586,6 +586,10 @@ while getopts b:dfi:hp:l:r:uy opt; do
;;
l)
logfile="${OPTARG}"
+ if [ -z "${logfile}" ]; then
+ usage
+ _exit 1
+ fi
;;
p)
progress_fifo="${OPTARG}"
OpenPOWER on IntegriCloud