Autocommit of file /home/julien/scripts/autosync-xdg-launcher.sh changed on host...
authorJulien Valroff <julien@kirya.net>
Sun, 13 Nov 2011 16:15:23 +0000 (17:15 +0100)
committerJulien Valroff <julien@kirya.net>
Sun, 13 Nov 2011 16:15:23 +0000 (17:15 +0100)
autosync-xdg-launcher.sh

index 6450f74..2e48a49 100755 (executable)
@@ -12,6 +12,6 @@ find $data/log/ -name '*.log' -ctime 5 -delete
 # which makes it easy to disable some
 for i in $conf/*.conf
 do
-    pkill -f "python.*dvcs-autosync .*autosync/$(basename $i)"
+    pkill -u $(whoami) -f "python.*dvcs-autosync .*autosync/$(basename $i)"
     dvcs-autosync $i &> $data/log/$(basename $i).$(date '+%F-%T').log &
 done