Permalink
Browse files

Added error check.

  • Loading branch information...
kengo
kengo committed Jan 18, 2014
1 parent 01b7edd commit b07a2bbc8afcd26a6216e0883ef3201754b7b00e
Showing with 8 additions and 2 deletions.
  1. +8 −2 doc/autocollect.pl
View
@@ -56,8 +56,14 @@
copy("$id/$pre-$id.$step.rst", "restart-$id.latest.rst");
}
}
print "Ready to go!\n";
if(-e "restart.latest.rst")
{
print "Ready to go!\n";
}
else
{
print "Auto collection failed.\nUsage:\n> perl autocollect.pl [probid]\n";
}
exit;

0 comments on commit b07a2bb

Please sign in to comment.