diff options
author | Nikolay Sturm <sturm@cvs.openbsd.org> | 2003-03-20 16:04:38 +0000 |
---|---|---|
committer | Nikolay Sturm <sturm@cvs.openbsd.org> | 2003-03-20 16:04:38 +0000 |
commit | ce21835ae96a4c268fdc585489bc8ad7bb207e34 (patch) | |
tree | d6369b11b8cebae920c2e1899d812a210e13a368 | |
parent | a972201e4b0ffc3fbdba61cffb781d06e40c23cf (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/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |