Created
February 9, 2015 22:26
-
-
Save mkorostoff/f203e414847d43b21de4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
function test_test() { | |
test -d "/some/invalid/directory" && ls -1 "/some/invalid/directory" | |
echo 1 | |
} | |
test_test | |
#prints "1" without throwing an error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment