Skip to content

fix return code handling in stashcp#100

Merged
djw8605 merged 1 commit intoopensciencegrid:masterfrom
edquist:fix-stashcp-return-codes
Jul 25, 2019
Merged

fix return code handling in stashcp#100
djw8605 merged 1 commit intoopensciencegrid:masterfrom
edquist:fix-stashcp-return-codes

Conversation

@edquist
Copy link
Copy Markdown
Contributor

@edquist edquist commented Jul 25, 2019

doStashCpSingle() was inconsistent in whether its return value indicated error or success. The messed up return code worked its way down to the exit status for the script.

I'm fixing this by making doStashCpSingle & dostashcpdirectory just return the error status - 0 for success, 1 for failure.

doStashCpSingle() was inconsistent in whether its return value indicated
error or success.  The messed up return code worked its way down to the
exit status for the script.

I'm fixing this by making doStashCpSingle & dostashcpdirectory just return
the error status - 0 for success, 1 for failure
@edquist edquist requested a review from djw8605 July 25, 2019 16:26
@djw8605
Copy link
Copy Markdown
Member

djw8605 commented Jul 25, 2019

I'll wait for ci to come back and merge it.

@djw8605
Copy link
Copy Markdown
Member

djw8605 commented Jul 25, 2019

CI failed for unrelated reasons.

@djw8605 djw8605 merged commit 727e557 into opensciencegrid:master Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants