standalone executable

This commit is contained in:
6543
2018-05-11 00:04:02 +02:00
parent 401abf1f4b
commit 2513b645c1
20 changed files with 35 additions and 52 deletions

View File

@ -28,7 +28,7 @@ function on_exit() {
exit $1
}
#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
on_exit $@
}