Fixing uninstall script
Using correct variable for killing netdata processes.
Tobias Kühne committed
Jul 1, 2016 at 14:51 UTC
123ae594117284f057fd5f1291373382a6ee1041
1 file changed
+1
-1
netdata-installer.sh
+1
-1
@@ -806,7 +806,7 @@ cat >netdata-uninstaller.sh <<-UNINSTALL
806
fi
807
808
echo >&2 "Stopping a possibly running netdata..."
809
- for p in \$(pidof netdata); do kill \$x; done
809
+ for p in \$(pidof netdata); do kill \$p; done
810
sleep 2
811
812
deletedir() {