summaryrefslogtreecommitdiffstats
path: root/ship
diff options
context:
space:
mode:
Diffstat (limited to 'ship')
-rw-r--r--ship/lib/core8
1 files changed, 4 insertions, 4 deletions
diff --git a/ship/lib/core b/ship/lib/core
index d1a7333e..5df146a1 100644
--- a/ship/lib/core
+++ b/ship/lib/core
@@ -1,8 +1,8 @@
# logging
-msg() { printf "$@\n" >&2 ;}
-info() { msg "** $@" ;}
-error() { msg "!! $@" ;}
-die() { error "$@" ;exit 1;}
+msg() { echo "$*" >&2; }
+info() { msg "** $*"; }
+error() { msg "!! $*"; }
+die() { error "$*"; exit 1; }
exists(){ type "$1" >/dev/null 2>/dev/null; }
is_root(){
test $(id -u) -eq 0