Only try to chmod logfile if we have sudo. If we don't have sudo
authordtucker <dtucker@openbsd.org>
Tue, 31 Oct 2023 02:58:45 +0000 (02:58 +0000)
committerdtucker <dtucker@openbsd.org>
Tue, 31 Oct 2023 02:58:45 +0000 (02:58 +0000)
commit84ac6f974db4602fb1fb77802329046dedfb3aac
treecc6f1a4286138621c9a8e4e0c8bcfc9b118fe650
parentf642db95282d945a0c40a8ff71cecc3ecbfd759a
Only try to chmod logfile if we have sudo.  If we don't have sudo
then we won't need to chmod.
regress/usr.bin/ssh/test-exec.sh