mirror of https://github.com/n1nj4sec/pupy.git
ZSH doesn't support writing to UID
This commit is contained in:
parent
767eeb82c7
commit
cfbdc87758
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh
|
||||
UID=`id -u`
|
||||
if [ -z "$UID" ]; then
|
||||
UID=`id -u`
|
||||
fi
|
||||
|
||||
if [ ! $UID -eq 0 ]; then
|
||||
echo "[!] You need to be root to run this script"
|
||||
|
|
Loading…
Reference in New Issue