Browse Source

enclose X${lpd_flags} in quotation marks, as it could carry more than

one argument.
OK miod@, millert@, henning@, markus@, fries@, tdeval@
OPENBSD_3_3
sturm 22 years ago
parent
commit
494f035f11
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc

+ 2
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.222 2003/03/10 01:05:28 deraadt Exp $
# $OpenBSD: rc,v 1.223 2003/03/20 16:04:37 sturm Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -485,7 +485,7 @@ if [ X${rwhod} = X"YES" ]; then
fi fi
if [ X${lpd_flags} != X"NO" ]; then
if [ "X${lpd_flags}" != X"NO" ]; then
echo -n ' printer'; lpd ${lpd_flags} echo -n ' printer'; lpd ${lpd_flags}
fi fi


Loading…
Cancel
Save