]> mj.ucw.cz Git - moe.git/blobdiff - bin/mo-get-users
Record local history in the GUI, too.
[moe.git] / bin / mo-get-users
index 9e9b2c278182d7d03ce5b2edcd3e24ee8bfcf00c..f85919ed8ec6b6d2c572465b1d93e0f294c40e96 100755 (executable)
@@ -16,7 +16,7 @@ if [ -z "$CT_USER_LIST" ] ; then
        awk -F: </etc/passwd "{ gsub(\",.*\",\"\",\$5); OFS=\"\t\"; if (\$3 >= $CT_UID_MIN && \$3 <= $CT_UID_MAX) print $FORM; }"
 else
        if [ "$1" = --full ] ; then
-               cat $CT_USER_LIST
+               cut -d '        ' -f 1,2 <$CT_USER_LIST
        else
                cut -d '        ' -f 1 <$CT_USER_LIST
        fi