Project

General

Profile

« Previous | Next » 

Revision 5d800e8b

Added by Brad Davis almost 3 years ago

Avoid using -a in test(1)

View differences:

src/etc/pfSense-rc.shutdown
51 51
scripts=/usr/local/etc/rc.d/shutdown.*.sh
52 52
for script in $scripts
53 53
do
54
	if [ -f "$script" -a -x "$script" ]
54
	if [ -f "$script" ] && [ -x "$script" ]
55 55
	then
56 56
		$script
57 57
	fi

Also available in: Unified diff