diff --git a/bw_cli_autolog.sh b/bw_cli_autolog.sh index 8305330..fecff13 100644 --- a/bw_cli_autolog.sh +++ b/bw_cli_autolog.sh @@ -6,7 +6,7 @@ Bitwarden_Server="" # Variables internes au script Inception_Detect=0 # Détection de terminaux parents/enfants -Local_Version="2.2.8" +Local_Version="2.2.9" # Fonction de suppression et nettoyage des identités identities_destroy() { @@ -60,7 +60,7 @@ if [ "${BW_List}" != "" ]; then fi # shellcheck disable=SC2009 - if [ "$(ps -e | grep 'sh -c while true; do sleep 10; bw sync -f; done' | grep -cv 'grep')" = "0" ]; then + if [ "$(ps -ef | grep 'sh -c while true; do sleep 10; bw sync -f; done' | grep -cv 'grep')" = "0" ]; then nohup sh -c 'while true; do sleep 10; bw sync -f; done' >/dev/null 2>&1 & fi