projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c514677
)
add else failure to list_users function
author
Jameson Graef Rollins
<jrollins@finestructure.net>
Tue, 7 Apr 2009 05:53:04 +0000
(22:53 -0700)
committer
Jameson Graef Rollins
<jrollins@finestructure.net>
Tue, 7 Apr 2009 05:53:04 +0000
(22:53 -0700)
src/share/common
patch
|
blob
|
history
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
}