summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Sturm <sturm@cvs.openbsd.org>2003-03-20 16:04:38 +0000
committerNikolay Sturm <sturm@cvs.openbsd.org>2003-03-20 16:04:38 +0000
commitce21835ae96a4c268fdc585489bc8ad7bb207e34 (patch)
treed6369b11b8cebae920c2e1899d812a210e13a368
parenta972201e4b0ffc3fbdba61cffb781d06e40c23cf (diff)
enclose X${lpd_flags} in quotation marks, as it could carry more than
one argument. OK miod@, millert@, henning@, markus@, fries@, tdeval@
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 8ccd5377727..95ad3ca17c4 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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
# or after single-user.
@@ -485,7 +485,7 @@ if [ X${rwhod} = X"YES" ]; then
fi
-if [ X${lpd_flags} != X"NO" ]; then
+if [ "X${lpd_flags}" != X"NO" ]; then
echo -n ' printer'; lpd ${lpd_flags}
fi