diff options
Diffstat (limited to 'src/usr')
-rwxr-xr-x | src/usr/local/sbin/pfSense-upgrade | 4 |
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}" |