fixed error view on old machines
Costa Tsaousis (ktsaou) committed
Apr 9, 2014 at 15:17 UTC
b0ac4245688dd36bd4a8018721b93d19a17dc249
1 file changed
+3
-3
netdata.start
+3
-3
@@ -73,9 +73,9 @@ fi
73
eval "`wget -O - http://localhost:$NETDATA_CONFIG_PORT/envlist 2>/dev/null | tr " " "_" `"
74
75
# save config back
76
-set|grep ^NETDATA_CONFIG_ >netdata.conf
77
-set|grep ^NETDATA_PRIORITY_ >>netdata.conf
78
-set|grep ^NETDATA_TITLE_ >>netdata.conf
76
+set 2>/dev/null |grep ^NETDATA_CONFIG_ >netdata.conf
77
+set 2>/dev/null |grep ^NETDATA_PRIORITY_ >>netdata.conf
78
+set 2>/dev/null |grep ^NETDATA_TITLE_ >>netdata.conf
79
80
echo "All Done."
81
echo "Just hit http://127.0.0.1:$NETDATA_CONFIG_PORT/ from your browser."