aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/misc
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-30 15:53:54 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-08-30 15:53:54 +0100
commit467d77bd0d191b38e5b2cc11e7ae4207fcb87b17 (patch)
tree4bde7e55ae3fb6910dc42a4853ad7cdd566364d5 /resources/scripts/misc
parent82e5f8d5fc8aa8bfe013b84460b296ce188ab7da (diff)
downloadlibrebootfr-467d77bd0d191b38e5b2cc11e7ae4207fcb87b17.tar.gz
librebootfr-467d77bd0d191b38e5b2cc11e7ae4207fcb87b17.zip
more scripts: don't use the [[ bashism
Diffstat (limited to 'resources/scripts/misc')
-rwxr-xr-xresources/scripts/misc/powertop.trisquel72
1 files changed, 1 insertions, 1 deletions
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