Skip to content

Commit cb930a4

Browse files
authored
Merge pull request #115 from laxdog/master
Exit with non zero (255) on non standard (or empty) s3 response
2 parents ac93538 + 2bc3a56 commit cb930a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1970,7 +1970,7 @@ if (!$cmd_data)
19701970
if ($r !~ /^<\?xml/)
19711971
{
19721972
print $r;
1973-
exit;
1973+
exit 255;
19741974
}
19751975
$r =~ s/<\?xml.*?>\r?\s*//;
19761976
$result .= $r;

0 commit comments

Comments
 (0)