diff options
Diffstat (limited to 'src/usr/local/sbin')
-rwxr-xr-x | src/usr/local/sbin/pfSense-upgrade | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/sbin/pfSense-upgrade b/src/usr/local/sbin/pfSense-upgrade index d976121..778b741 100755 --- a/src/usr/local/sbin/pfSense-upgrade +++ b/src/usr/local/sbin/pfSense-upgrade @@ -47,6 +47,7 @@ # OF THE POSSIBILITY OF SUCH DAMAGE. pid_file="/var/run/$(basename $0).pid" +logfile=/cf/conf/upgrade_log.txt # pkg should not ask for confirmations export ASSUME_ALWAYS_YES=true @@ -251,8 +252,6 @@ echo $$ > ${pid_file} trap _exit 1 2 15 EXIT -logfile=/cf/conf/upgrade_log.txt - unset need_reboot if [ ! -f "${upgrade_in_progress}" ]; then if [ -f "${logfile}" ]; then |