https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194971
Bug ID: 194971
Summary: [patch] pw(8): wrong error message when using -V dir
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Created attachment 149333
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149333&action=edit
patch for pw.c
When using -V dir flag, pw(8) display wrong error message if dir
not exists
# pw -V /this_directory_does_not_exists usershow root
pw: no such user `root'
# echo $?
67
After patch:
# /usr/obj/usr/src/usr.sbin/pw/pw -V /this_directory_does_not_exists usershow
root
pw: no such directory `/this_directory_does_not_exists'
# echo $?
72
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"