projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
getting changes from cakelampvm
[feisty_meow.git]
/
scripts
/
system
/
add_domain.sh
diff --git
a/scripts/system/add_domain.sh
b/scripts/system/add_domain.sh
index e0a6fb48613ffdfacd6f3c283657e20aae059ad8..3c9df992983372a976865d7e91039c87b5f2d145 100644
(file)
--- a/
scripts/system/add_domain.sh
+++ b/
scripts/system/add_domain.sh
@@
-132,7
+132,7
@@
function restart_bind()
# main body of script.
# main body of script.
-if
(( $EUID != 0 ))
; then
+if
[[ $EUID != 0 ]]
; then
echo "This script must be run as root or sudo."
exit 1
fi
echo "This script must be run as root or sudo."
exit 1
fi