Timeline for Capture exit code of exit command
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 9, 2018 at 9:04 | comment | added | solarshado |
Maybe I misunderstood what you're trying to accomplish. If you're just trying to set $? (though I'm not really sure why you would), that does seem like a solid answer. If you just want to set it to some unsuccessful value, false is another option.
|
|
| Dec 9, 2018 at 8:52 | comment | added | user287203 | hmmm what do you think about @G-man's idea? | |
| Dec 9, 2018 at 8:40 | review | First posts | |||
| Dec 9, 2018 at 8:50 | |||||
| Dec 9, 2018 at 8:38 | history | answered | solarshado | CC BY-SA 4.0 |