diff --git a/bin/0km b/bin/0km index e1171e6..085e75b 100755 --- a/bin/0km +++ b/bin/0km @@ -1337,6 +1337,15 @@ cmdline.spec::cmd:vps-stats:run() { echo "" return 1 } >&2 + ( depends rrdtool ) || { + echo "" + echo " Rrdtool is required to display graphs..." \ + "You might want to try to install ${WHITE}rrdtool${NORMAL} with:" + echo "" + echo " apt install rrdtool" + echo "" + return 1 + } >&2 export GNUTERM=qt exec {PFD}> >(exec gnuplot 2>/dev/null)