]> arthur.barton.de Git - netdata.git/commitdiff
fixed error view on old machines
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Wed, 9 Apr 2014 12:17:49 +0000 (15:17 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Wed, 9 Apr 2014 12:17:49 +0000 (15:17 +0300)
netdata.start

index eb23bfc47033b32cd5775e0a0700a1ba2e9da2cb..7e73ca3db78a47162a33626c99fa8a9307fc3a89 100755 (executable)
@@ -73,9 +73,9 @@ fi
 eval "`wget -O -  http://localhost:$NETDATA_CONFIG_PORT/envlist 2>/dev/null | tr " " "_" `"
 
 # save config back
-set|grep ^NETDATA_CONFIG_      >netdata.conf
-set|grep ^NETDATA_PRIORITY_    >>netdata.conf
-set|grep ^NETDATA_TITLE_       >>netdata.conf
+set 2>/dev/null |grep ^NETDATA_CONFIG_         >netdata.conf
+set 2>/dev/null |grep ^NETDATA_PRIORITY_       >>netdata.conf
+set 2>/dev/null |grep ^NETDATA_TITLE_          >>netdata.conf
 
 echo "All Done."
 echo "Just hit http://127.0.0.1:$NETDATA_CONFIG_PORT/ from your browser."