From 467d77bd0d191b38e5b2cc11e7ae4207fcb87b17 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 30 Aug 2015 15:53:54 +0100 Subject: more scripts: don't use the [[ bashism --- resources/scripts/misc/powertop.trisquel7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/scripts/misc/powertop.trisquel7') diff --git a/resources/scripts/misc/powertop.trisquel7 b/resources/scripts/misc/powertop.trisquel7 index 215ae03c..473c8e28 100755 --- a/resources/scripts/misc/powertop.trisquel7 +++ b/resources/scripts/misc/powertop.trisquel7 @@ -21,7 +21,7 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e -if [[ $EUID -ne 0 ]]; then +if [ $EUID -ne 0 ]; then printf "This script must be run as root\n" exit 1 fi -- cgit v1.2.3-70-g09d2