From 467d77bd0d191b38e5b2cc11e7ae4207fcb87b17 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 30 Aug 2015 10:53:54 -0400 Subject: more scripts: don't use the [[ bashism --- (limited to 'resources/scripts/misc') diff --git a/resources/scripts/misc/powertop.trisquel7 b/resources/scripts/misc/powertop.trisquel7 index 215ae03..473c8e2 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 v0.9.1