From 0b81bca953ec7cdf373ff97b11ebd6fb847d733f Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 30 Dec 2013 03:05:26 +0100 Subject: libkrebs is obsolete --- .graveyard/lib/libkrebs.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .graveyard/lib/libkrebs.sh (limited to '.graveyard/lib/libkrebs.sh') diff --git a/.graveyard/lib/libkrebs.sh b/.graveyard/lib/libkrebs.sh new file mode 100644 index 00000000..d423a053 --- /dev/null +++ b/.graveyard/lib/libkrebs.sh @@ -0,0 +1,10 @@ +#! /bin/sh +esudo() { + if test "${esudo-true}" = true -a `id -u` != 0; then + echo "we're going sudo..." >&2 + export esudo=false + exec sudo "$0" "$@" + exit 23 # go to hell + fi +} + -- cgit v1.2.3