diff --git a/radio/blocks/sinks/gnuplotwaterfall.lua b/radio/blocks/sinks/gnuplotwaterfall.lua index 64b43e79d..6e6159035 100644 --- a/radio/blocks/sinks/gnuplotwaterfall.lua +++ b/radio/blocks/sinks/gnuplotwaterfall.lua @@ -65,7 +65,8 @@ end function GnuplotWaterfallSink:initialize() -- Check gnuplot exists - assert(os.execute("gnuplot --version >/dev/null 2>&1") == 0, "gnuplot not found. Is gnuplot installed?") + local ret = os.execute("gnuplot --version >/dev/null 2>&1") + assert(ret == 0 or ret == true, "gnuplot not found. Is gnuplot installed?") end function GnuplotWaterfallSink:write_gnuplot(s)