Code Update
This commit is contained in:
7
src/functions/restricted.sh
Normal file
7
src/functions/restricted.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
wi-restricted(){
|
||||
if [[ $USER != "root" && $USER != "local" ]]
|
||||
then
|
||||
sudo $0 $1 $2
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user