Bug 26596

Summary: [PATCH] In /etc/rc, in symlinking /dev/log, the -h switch is used in a test
Product: Base System Reporter: mikem <mike_makonnen>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description mikem 2001-04-15 14:40:01 UTC
In the /etc/rc startup script a soft link is created from /var/run/log to
/dev/log like this: if [ ! -h /dev/log ]; 
The man page for test(1) says that the -h switch is depracated and that
users should NOT rely on it being available. It suggest the -L switch instead.
They both do the same thing: check for the existence of the symbolic link.

Fix: This is the diff for the fix:
How-To-Repeat: grep ' -h ' /etc/rc
Comment 1 Poul-Henning Kamp freebsd_committer freebsd_triage 2001-04-15 14:44:18 UTC
State Changed
From-To: open->closed

committed, thanks!