diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-09-25 18:46:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-09-25 18:46:16 +0000 |
commit | 20cdc575988d772e5bafd3cd8a73745804ee42b6 (patch) | |
tree | 00cd02811828ec389ebfa4a3b04006ecaa719fae /growthplot | |
parent | 1daa514dfaae67490934259ad41b86de628b5a0f (diff) | |
download | fetchmail-20cdc575988d772e5bafd3cd8a73745804ee42b6.tar.gz fetchmail-20cdc575988d772e5bafd3cd8a73745804ee42b6.tar.bz2 fetchmail-20cdc575988d772e5bafd3cd8a73745804ee42b6.zip |
Check for plot failure.
svn path=/trunk/; revision=2607
Diffstat (limited to 'growthplot')
-rwxr-xr-x | growthplot | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -66,8 +66,12 @@ plot [] [0:] '/tmp/growthnumbers$$' using 6:5 \ EOF # The gnuplot driver for PNG doesn't do color -gnuplot /tmp/growthimage$$ >growth.gif -gif2png -s -d growth.gif +if gnuplot /tmp/growthimage$$ >growth.gif +then + gif2png -s -d growth.gif +else + echo "Plot failed." +fi rm -f /tmp/growth* |