prepend slash when using __object_id as name for __process
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
62c4f0d086
commit
9bdba19d4a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue