]> arthur.barton.de Git - netdata.git/commitdiff
netdata-installer.sh now uses apps.plugin -t option to test if it is capable of readi...
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 26 Feb 2017 18:05:45 +0000 (20:05 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 26 Feb 2017 18:05:45 +0000 (20:05 +0200)
netdata-installer.sh

index 417c5ca2e968dc7a8f096de63b63a8d6117f49bd..51fc25820e54a8e301b5c00ab7f17d8e75a64246 100755 (executable)
@@ -723,7 +723,7 @@ if [ ${UID} -eq 0 ]
             # if we managed to setcap
             # but we fail to execute apps.plugin
             # trigger setuid to root
-            "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/apps.plugin" -v >/dev/null 2>&1
+            "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/apps.plugin" -t >/dev/null 2>&1
             setcap_ret=$?
         fi
     fi