aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/conntrack-tools/files/init
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/conntrack-tools/files/init')
-rw-r--r--recipes/conntrack-tools/files/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/conntrack-tools/files/init b/recipes/conntrack-tools/files/init
index cb7a7fb658..6cda750002 100644
--- a/recipes/conntrack-tools/files/init
+++ b/recipes/conntrack-tools/files/init
@@ -38,7 +38,7 @@ case "$1" in
done
start-stop-daemon --start --quiet --make-pidfile --pidfile "/var/run/${NAME}.pid" --background --exec "${DAEMON}"
RET=$?
- if [ "$?" == "0" ]; then
+ if [ "$?" = "0" ]; then
sleep 2
# Sync with other server
conntrackd -n
@@ -56,7 +56,7 @@ case "$1" in
echo -n "conntrackd "
start-stop-daemon -q -K -t -x $DAEMON
RET=$?
- if [ "$RET" == "0" ]; then
+ if [ "$RET" = "0" ]; then
PID=`cat $PIDFILE`
echo "($PID) is running"
else