diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2012-04-13 23:01:42 +0300 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-04-16 13:45:59 -0500 |
commit | 4943ddcb1c96aed14617c97ba42a658a2c6cecf5 (patch) | |
tree | 50ba6cea8dc25dc186e920c4a23e13ae582de05d /scripts | |
parent | be5de328e9aa4d35a8222e1c4c2358bb9a07449c (diff) |
init.d/procfs: posix compatibility fix
I've noticed in at boot:
# /etc/init.d/procfs restart
procfs | * WARNING: you are stopping a boot service
procfs |[: 308: unexpected operator
Which calls
$ /bin/dash -c '[ "$RC_SYS" == "OPENVZ" ] && echo "ovz" || echo "nope"'
[: 1: unexpected operator
nope
Fixed by using '='.
X-Gentoo-Bug: 412237
x-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=412237
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions