etc/init.d/initd-functions: fixes for dash
Use . not 'source'.
Note that checkbashisms still complain about three places:
possible bashism in /usr/lib/vzctl/scripts/initd-functions line 47 ($"foo" should be eval_gettext "foo"):
failure $"$1"
possible bashism in /usr/lib/vzctl/scripts/initd-functions line 58 ($"foo" should be eval_gettext "foo"):
warning $"$1"
possible bashism in /usr/lib/vzctl/scripts/initd-functions line 79 ($"foo" should be eval_gettext "foo"):
echo -n $"$1"
But all these places are for $DISTR = "redhat" case.
Reported-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed