diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-04-06 22:53:04 -0700 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-04-06 22:53:04 -0700 |
commit | c2a85da2be8f884cb7e96f05d8a37dcb6ddd80b5 (patch) | |
tree | 328ddd889dccf4e369b6164e28a62b68212d77c4 /src/share | |
parent | c514677a32ef4a3264898a389902ac973ebc3507 (diff) |
add else failure to list_users function
Diffstat (limited to 'src/share')
-rw-r--r-- | src/share/common | 2 |
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 } |