etc/init.d/vz*: quote grep argument
This is how it was:
# /etc/init.d/vz start
...
grep: #: No such file or directory
grep: Use: No such file or directory
grep: vswap-256m: No such file or directory
grep: on: No such file or directory
grep: RHEL6: No such file or directory
grep: kernel$: No such file or directory
Quote the argument to prevent this madness. Strange that no one noticed it.
This is a fix to commit e2cb23b.
http://bugzilla.openvz.org/2169
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
2 files changed