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