summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_time.c
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2007-05-03 04:33:11 +0000
committercperciva <cperciva@FreeBSD.org>2007-05-03 04:33:11 +0000
commit372e0ffbebe4ed301da3904e9a19b9eda8405ec2 (patch)
treeb71ae125fa4a291fa58155f5053f3603f7717f22 /sys/kern/kern_time.c
parente8c2f0332704184aca02626e60a00f3e5c87d91f (diff)
downloadFreeBSD-src-372e0ffbebe4ed301da3904e9a19b9eda8405ec2.zip
FreeBSD-src-372e0ffbebe4ed301da3904e9a19b9eda8405ec2.tar.gz
If lstat(2) fails, have bsdtar return a non-zero exit code if the
failed path is one which was specified on the command line. This is a compromise between the situation prior to revision 1.57 (where a race between tar(1) and rm(1) could cause tar(1) to spuriously report an error) and the situation after revision 1.57 (where "tar -c /no/such/path" prints a warning but returns with an exit code of zero). Inspired by: rafan MFC after: 1 week
Diffstat (limited to 'sys/kern/kern_time.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud