]> arthur.barton.de Git - netdata.git/commitdiff
Fixing uninstall script
authorTobias Kühne <tkuehne-deliveryhero@users.noreply.github.com>
Fri, 1 Jul 2016 12:51:16 +0000 (14:51 +0200)
committerGitHub <noreply@github.com>
Fri, 1 Jul 2016 12:51:16 +0000 (14:51 +0200)
Using correct variable for killing netdata processes.

netdata-installer.sh

index da0ec82159338c46f0a027a5163b9eede22addfe..10f546746fda55b3b3f1d801316cb3ac1d3539ee 100755 (executable)
@@ -806,7 +806,7 @@ cat >netdata-uninstaller.sh <<-UNINSTALL
        fi
 
        echo >&2 "Stopping a possibly running netdata..."
-       for p in \$(pidof netdata); do kill \$x; done
+       for p in \$(pidof netdata); do kill \$p; done
        sleep 2
 
        deletedir() {