summaryrefslogtreecommitdiffstats
path: root/client/shared/scripts/poweroff
diff options
context:
space:
mode:
Diffstat (limited to 'client/shared/scripts/poweroff')
-rwxr-xr-xclient/shared/scripts/poweroff2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/shared/scripts/poweroff b/client/shared/scripts/poweroff
index 9af4d669..c108e08e 100755
--- a/client/shared/scripts/poweroff
+++ b/client/shared/scripts/poweroff
@@ -21,7 +21,7 @@ BUSYBOX=${BUSYBOX:-"busybox"}
# Retardo para dar lugar al registro en cola de acciones.
sleep 5
# Parar Browser para evitar "cuelgues".
-pkill browser
+[ "$ogstatus" == "offline" ] || pkill browser
# Apagar.
$BUSYBOX poweroff