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

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}"