From 9e784ebfee6dc23df06c1172233bbf42838dd8af Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Tue, 15 Nov 2016 18:26:53 +0100 Subject: [PATCH] batteryobserver: bug fix which prevented the batteryobserver from starting --- scripts/.config/scripts/batteryobserver.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/.config/scripts/batteryobserver.sh b/scripts/.config/scripts/batteryobserver.sh index 2ed0367..e4c8189 100755 --- a/scripts/.config/scripts/batteryobserver.sh +++ b/scripts/.config/scripts/batteryobserver.sh @@ -1,8 +1,9 @@ #!/bin/bash -if [ -n "$(pgrep batteryobserver)" ]; then - exit 0 -fi +#if [ -n "$(pgrep batteryobserver | grep -v $$)" ]; then +# echo "Battery Observer already running" +# exit 0 +#fi #Config WARNING_LEVEL=10