projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add else failure to list_users function
[monkeysphere.git]
/
src
/
share
/
common
diff --git
a/src/share/common
b/src/share/common
index f954bb94a071d6d78891878d526be950bbe488b1..11e7969952f2b8dfb2cca4f1f87cd4959ca38f89 100644
(file)
--- 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
}