Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad exit code (1) even though it succeeds and should be 0 #6

Closed
asaf-erlich opened this issue Mar 21, 2014 · 3 comments
Closed

Bad exit code (1) even though it succeeds and should be 0 #6

asaf-erlich opened this issue Mar 21, 2014 · 3 comments

Comments

@asaf-erlich
Copy link

To start my operating system is redhat 5 on a 64 bit virtual machine. I cloned the repository and built it.

How to reproduce:
cd /tmp/
mkdir testdirectory
rm -rf testdirectory
echo $?

See it output 1

Uninstall safe-rm and you will see this should output 0. Furthermore, even though it reports a bad exit code of 1 it successfully removes the directory as it should.

@kaelzhang
Copy link
Owner

I'll take into this within the next 24 hrs

@asaf-erlich
Copy link
Author

Thanks. No rush, though. I have uninstalled this for the time being since
some scripts at work depend on the exit code and were failing. Thanks for
looking into it.

-Asaf
On Mar 22, 2014 5:04 AM, "Kael Zhang" [email protected] wrote:

I'll take into this within the next 24 hrs

Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-38349747
.

@kaelzhang
Copy link
Owner

kaelzhang commented Feb 20, 2018

Seems that the issue could be closed. Plz reopen if there are still issues

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

No branches or pull requests

2 participants