apt-feed-logbuch.sh
changeset 10 51b2226ad231
parent 9 b9f68563d603
--- a/apt-feed-logbuch.sh	Wed Oct 24 13:41:45 2012 +0200
+++ b/apt-feed-logbuch.sh	Thu Oct 25 09:03:59 2012 +0200
@@ -32,9 +32,7 @@
 APT_CMD=$(ps -p $1 -o args=)
 
 # skip download-only from logbuch
-if echo $APT_CMD | grep -q "[[:space:]]\+-d\|-dy\|-yd"; then
-	exit 0
-elif echo $APT_CMD | grep -q "[[:space:]]\+--download-only"; then
+if echo $APT_CMD | grep -q "[[:space:]]\+-d\|-dy\|-yd\|--download-only"; then
 	exit 0
 fi