This commit is contained in:
Christer Warén
2024-06-01 15:59:50 +03:00
parent 9387e15062
commit 352b7b2325
8 changed files with 25 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
wi-restricted(){
if [[ $USER != "root" && $USER != "local" ]]
then
sudo $0 $1 $2
sudo $1
exit 1
fi
}