mirror of
https://codeberg.org/scip/note.git
synced 2025-12-16 20:21:04 +01:00
rm bashism, patches https://bugs.debian.org/772284
This commit is contained in:
@@ -21,7 +21,7 @@ read YESNO
|
||||
|
||||
case $YESNO in
|
||||
"y" | "Y")
|
||||
if [ $UID != 0 ] ; then
|
||||
if [ $(id -ru) != 0 ] ; then
|
||||
echo "You should be root for that!"
|
||||
exit
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user