From: Jameson Graef Rollins Date: Tue, 7 Apr 2009 05:53:04 +0000 (-0700) Subject: add else failure to list_users function X-Git-Tag: monkeysphere_0.25~31^2~2 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=c2a85da2be8f884cb7e96f05d8a37dcb6ddd80b5;p=monkeysphere.git add else failure to list_users function --- 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 }