]> arthur.barton.de Git - netdata.git/commitdiff
Merge pull request #633 from tkuehne-deliveryhero/master
authorCosta Tsaousis <costa@tsaousis.gr>
Fri, 1 Jul 2016 18:11:21 +0000 (21:11 +0300)
committerGitHub <noreply@github.com>
Fri, 1 Jul 2016 18:11:21 +0000 (21:11 +0300)
Fixing uninstall script

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() {