summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
78de0a3)
The grep pattern for systemd units is not enough restrictive.
So let's made grep a little more restrictive.
Change-Id: If0f75919a89c39da63e5375e3b3cdd020c6ea324
Bug-AGL: SPEC-3495
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
fi
echo "DEBUG: check if we see the package with systemctl list-units (before start)"
fi
echo "DEBUG: check if we see the package with systemctl list-units (before start)"
- systemctl list-units --full | grep "afm.*$WGTNAME"
+ systemctl list-units --full | grep "afm.*$WGTNAME--"
echo "DEBUG: check if we see the package with systemctl -a (before start)"
echo "DEBUG: check if we see the package with systemctl -a (before start)"
- systemctl -a |grep "afm.*$WGTNAME"
+ systemctl -a |grep "afm.*$WGTNAME--"
echo "DEBUG: start $NAMEID"
do_afm_util start $NAMEID > "rid"
echo "DEBUG: start $NAMEID"
do_afm_util start $NAMEID > "rid"
fi
echo "DEBUG: check if we see the package with systemctl list-units (after start)"
fi
echo "DEBUG: check if we see the package with systemctl list-units (after start)"
- systemctl list-units --full | grep "afm.*$WGTNAME"
+ systemctl list-units --full | grep "afm.*$WGTNAME--"
echo "DEBUG: check if we see the package with systemctl -a (after start)"
echo "DEBUG: check if we see the package with systemctl -a (after start)"
- systemctl -a |grep "afm.*$WGTNAME"
+ systemctl -a |grep "afm.*$WGTNAME--"
echo "DEBUG: Get RID for $NAMEID"
PSLIST="pslist"
echo "DEBUG: Get RID for $NAMEID"
PSLIST="pslist"