1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Add ()'s around the warning message when skipping a startup script.

Also don't give the whole path, just the script name.

Submitted by:	des
Requested by:	jhb
This commit is contained in:
David E. O'Brien 2001-10-01 22:52:32 +00:00
parent 0479e3d339
commit db27ecf570
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84332

2
etc/rc
View File

@ -807,7 +807,7 @@ case ${local_startup} in
trap 'exit 1' 2
${script} start)
elif [ -f "${script}" -or -l "${script}" ]; then
echo -n " Skipping ${script}, not executable"
echo -n " (skipping ${script##*/}, not executable)"
fi
done
IFS="${script_save_sep}"