summaryrefslogtreecommitdiff
path: root/src/xi.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-12 12:48:46 +0100
committerdavidovski <david@davidovski.xyz>2022-04-12 12:48:46 +0100
commit534ab7fc386021e227e3fb2ea2902af6a75159a1 (patch)
tree298b204e38376e1d5d92c117fc4ad3282f1cfc0d /src/xi.sh
parent02d1cfbbda20eb8ab9bbb256bf29e536bff4b746 (diff)
fixed non-posix comparisonv1.2.2
Diffstat (limited to 'src/xi.sh')
-rwxr-xr-xsrc/xi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xi.sh b/src/xi.sh
index 1c38f99..3a133a9 100755
--- a/src/xi.sh
+++ b/src/xi.sh
@@ -130,7 +130,7 @@ if [ "$#" = "0" ]; then
show_xipkg_stats
else
# showing stats doesn't require root, so we can only check when we are here
- [ "$(id -u)" == "0" ] || {
+ [ "$(id -u)" = "0" ] || {
printf "${RED}Please run as root!\n"
exit 1
}