diff options
Diffstat (limited to 'src/usr/local/sbin/pfSense-upgrade')
-rwxr-xr-x | src/usr/local/sbin/pfSense-upgrade | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/local/sbin/pfSense-upgrade b/src/usr/local/sbin/pfSense-upgrade index 778b741..978fd83 100755 --- a/src/usr/local/sbin/pfSense-upgrade +++ b/src/usr/local/sbin/pfSense-upgrade @@ -131,6 +131,8 @@ _exec() { } _exit() { + trap "-" 1 2 15 EXIT + if [ -n "${kernel_pkg}" ]; then _exec "pkg lock ${kernel_pkg}" "Locking kernel package" mute ignore_result fi |