summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/share/common2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/share/common b/src/share/common
index f954bb9..11e7969 100644
--- a/src/share/common
+++ b/src/share/common
@@ -466,6 +466,8 @@ list_users() {
elif type dscl &>/dev/null ; then
# for Darwin systems
dscl localhost -list /Search/Users
+ else
+ failure "Neither getent or dscl is in the path! Could not determine list of users."
fi
}