opnsense-src/usr.bin/xinstall
Ahmad Khalifa c0e07c93e8 install: print directory name instead of file name if mkstemp fails
Printing the file name doesn't make sense since mkstemp failing means
that the file wasn't created.

Also add a test case for this.

Co-authored-by: Jose Luis Duran <jlduran@gmail.com>
Reviewed by: imp,jhb
Pull Request: https://github.com/freebsd/freebsd-src/pull/1383

(cherry picked from commit e8d027be6b84ac976eacd46283c286b934dd6f1f)
2025-03-25 19:28:39 -06:00
..
tests install: print directory name instead of file name if mkstemp fails 2025-03-25 19:28:39 -06:00
install.1 install: Always use a temporary file. 2024-04-24 22:11:55 +00:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
xinstall.c install: print directory name instead of file name if mkstemp fails 2025-03-25 19:28:39 -06:00