freebsd-dev/lib/libutil
Piotr Pawel Stefaniak 830efe5539 Make vipw error message less cryptic
Unable to find an editor, vipw would give this error:
# env EDITOR=fnord vipw
vipw: pw_edit(): No such file or directory

vigr or crontab do better:
# env EDITOR=fnord crontab -e
crontab: no crontab for root - using an empty one
crontab: fnord: No such file or directory
crontab: "fnord" exited with status 1

After this change, vipw behaves more like vigr or crontab:
# env EDITOR=fnord vipw
vipw: fnord: No such file or directory
vipw: "fnord" exited with status 1

Reviewed by:	rpokala, emaste
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D25369
2020-06-20 06:20:00 +00:00
..
tests
_secure_path.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
_secure_path.c
auth.c
expand_number.3
expand_number.c
flopen.3
flopen.c
fparseln.3
fparseln.c
gr_util.c libutil: remove extraneous ": " from error messages 2020-06-20 06:10:42 +00:00
hexdump.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
hexdump.c
humanize_number.3
humanize_number.c
kinfo_getallproc.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
kinfo_getallproc.c
kinfo_getfile.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
kinfo_getfile.c
kinfo_getproc.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
kinfo_getproc.c
kinfo_getvmmap.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
kinfo_getvmmap.c
kinfo_getvmobject.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
kinfo_getvmobject.c
kld.3
kld.c
libutil.h
login_auth.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
login_auth.c
login_cap.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
login_cap.c
login_cap.h
login_class.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
login_class.c
login_crypt.c
login_ok.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
login_ok.c
login_times.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
login_times.c
login_tty.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
login_tty.c
login.conf.5 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
Makefile
Makefile.depend
pidfile.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
pidfile.c
property.3
property.c
pty.3
pty.c
pw_util.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
pw_util.c Make vipw error message less cryptic 2020-06-20 06:20:00 +00:00
quotafile.3
quotafile.c
realhostname_sa.3
realhostname.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
realhostname.c
stub.c
trimdomain.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
trimdomain.c
uucplock.3 libutil: Document function HISTORY within the manpages 2020-06-14 05:35:02 +00:00
uucplock.c