diff options
author | makefu <github@syntax-fehler.de> | 2013-11-12 14:43:13 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-11-12 14:43:13 +0100 |
commit | 235cfb673d84dc151aa502f854e5daaf4487feb8 (patch) | |
tree | 7add5d9b93bb457f69782d56cde8aeff9b25f48a | |
parent | 5e85a920a6c9ee68e1171f27d816151d8825b78a (diff) |
ship: trap_add -> defer
-rw-r--r-- | ship/lib/core | 2 |
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 |