1
0
mirror of https://github.com/QSCTech/zjunet.git synced 2026-01-22 11:44:48 +08:00
This commit is contained in:
Zeno Zeng 2014-09-22 00:47:27 +08:00
parent 03ba81437f
commit 63f3585629

View File

@ -70,7 +70,7 @@ case "$1" in
# @private
get)
count=$(ls -1A $users_enabled | wc -l)
if [ "${COUNT}" -eq "0" ]; then
if [ "${count}" -eq "0" ]; then
echo "No user found. Use 'zjunet user add' to add a user."
exit 1
else