summaryrefslogtreecommitdiffstats
path: root/ship
diff options
context:
space:
mode:
Diffstat (limited to 'ship')
-rw-r--r--ship/lib/core2
1 files changed, 1 insertions, 1 deletions
diff --git a/ship/lib/core b/ship/lib/core
index 80be5d2e..1ef1fbf9 100644
--- a/ship/lib/core
+++ b/ship/lib/core
@@ -8,7 +8,7 @@ is_root(){
test $(id -u) -eq 0
}
-trap_add(){
+defer(){
#close enough
trapstr="$1;${trapstr:-exit}"
trap "$trapstr" INT TERM EXIT KILL