prepend slash when using __object_id as name for __process

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-28 15:20:58 +02:00
parent 62c4f0d086
commit 9bdba19d4a

View file

@ -24,7 +24,7 @@
if [ -f "$__object/parameter/name" ]; then
name="$(cat "$__object/parameter/name")"
else
name="$__object_id"
name="/$__object_id"
fi
pgrep -x -f "$name" || true