diff --git a/install.sh b/install.sh index c94fc27..d0293f0 100755 --- a/install.sh +++ b/install.sh @@ -17,7 +17,7 @@ if [ "$EUID" -eq 0 ] fi echo "Ce script configure votre noeud G1sms+" -IPFS=$(ps auxf --sort=+utime | grep -w ipfs | grep -v "color=auto" | tail -n 1 | cut -d " " -f 1); +IPFS=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1); [[ -z $IPFS ]] && $MY_PATH/.install/install_requirements.sh && $MY_PATH/.install/configure_ipfs_layer.sh