mirror of
https://github.com/n1nj4sec/pupy.git
synced 2025-02-26 21:06:58 +00:00
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…
x
Reference in New Issue
Block a user