Skip to content

Commit 44aa087

Browse files
committed
ubuntu-touch/setup.sh: fix user check for dash
1 parent baedf86 commit 44aa087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/ubuntu-touch/setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e
44

5-
if [ $UID != 0 ]; then
5+
if [ "$USER" != "root" ]; then
66
echo 'This script must be run as root.'
77
exit 1
88
fi

0 commit comments

Comments
 (0)