mirror of
https://gitlab.com/xonotic/xonotic
synced 2024-12-15 19:35:24 +00:00
send error status
This commit is contained in:
parent
509d1a597b
commit
44c9fdb6f3
@ -194,12 +194,12 @@ screenshotthemap()
|
||||
)
|
||||
if ! mv ~/.xonotic/data/screenshots "$M-$blobhash"; then
|
||||
if [ -n "$IRCSPAM" ]; then
|
||||
ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$HASH" > "maps/$M.ircss"
|
||||
ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$HASH" 1 > "maps/$M.ircss"
|
||||
fi
|
||||
return 1
|
||||
fi
|
||||
if [ -n "$IRCSPAM" ]; then
|
||||
ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$HASH" > "maps/$M.ircss"
|
||||
ss2spam "$M" "$url$M-$blobhash/" "$REFNAME" "$HASH" 0 > "maps/$M.ircss"
|
||||
fi
|
||||
ln -snf "../$M-$blobhash" "$M" # from ALL branches, so beware!
|
||||
rsync -vaSHP "$M-$blobhash" "$url_ssh"
|
||||
|
Loading…
Reference in New Issue
Block a user