diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-23 17:04:37 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-23 17:52:42 -0300 |
commit | 32783770e8cdb6df0368818fa1b7eb0d94431bf6 (patch) | |
tree | 80598e2ac480dc727e75e2e6f4aeda658bee2e71 /src/usr | |
parent | 3ea25fad5b60b67e17f46137575c8acb66b4bf63 (diff) | |
download | pfsense-32783770e8cdb6df0368818fa1b7eb0d94431bf6.zip pfsense-32783770e8cdb6df0368818fa1b7eb0d94431bf6.tar.gz |
Disable trap on _exit()
Diffstat (limited to 'src/usr')
-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 |