Add some sanity checking for pasting in a bad URL

git-svn-id: svn://10.0.0.236/trunk@241299 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
justdave%bugzilla.org
2007-12-15 00:16:27 +00:00
parent db34de0fac
commit a1c9de8749

View File

@@ -94,6 +94,10 @@ EOF
print "--\n";
my $data = `wget -O- -nv "$filename"`;
parse_bonsai_backout_file($data);
if (0 == @files) {
print "I didn't find any files at that URL, try again.\n";
exit 1;
}
}
else {
while ($filename) {