Make grep more specific #352
1 changed files with 1 additions and 1 deletions
|
@ -24,4 +24,4 @@ else
|
||||||
name="$__object_id"
|
name="$__object_id"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
apt-mark showhold | grep -Fq "$name" && echo hold || echo unhold
|
apt-mark showhold | grep -q "^${name}$" && echo hold || echo unhold
|
||||||
|
|
Loading…
Reference in a new issue