Project

General

Profile

« Previous | Next » 

Revision 2b0a0109

Added by Renato Botelho almost 10 years ago

Do not accept blank logfile

View differences:

src/usr/local/sbin/pfSense-upgrade
586 586
			;;
587 587
		l)
588 588
			logfile="${OPTARG}"
589
			if [ -z "${logfile}" ]; then
590
				usage
591
				_exit 1
592
			fi
589 593
			;;
590 594
		p)
591 595
			progress_fifo="${OPTARG}"

Also available in: Unified diff