diff options
author | Iru Cai <mytbk920423@gmail.com> | 2017-06-01 16:50:40 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2017-06-01 17:49:13 +0800 |
commit | c37e64eb77755d9eb4a1f16e0b0e93f3c523485a (patch) | |
tree | c489ee3945cbd1138a116dc18a6f3c1e6d6cc541 /functions.sh | |
parent | f8d49f1101ebca896a1608f523793a00f3189004 (diff) | |
download | liveusb-builder-c37e64eb77755d9eb4a1f16e0b0e93f3c523485a.tar.xz |
Print out the command at as-root
Diffstat (limited to 'functions.sh')
-rw-r--r-- | functions.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.sh b/functions.sh index c533e07..cbf25aa 100644 --- a/functions.sh +++ b/functions.sh @@ -96,6 +96,7 @@ getdiskbypart() { } as-root() { + echo as-root "$*" if [ "$UID" == 0 ]; then "$@" elif type -p sudo > /dev/null; then |