Timeline for chmod + silent mode + how force exit code 0 in spite of error
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 30, 2015 at 1:58 | comment | added | Gerry | Thank you for that. I can't believe I messed that up. :) Edited with the correction. | |
| Mar 30, 2015 at 1:56 | history | edited | Gerry | CC BY-SA 3.0 |
Edited with correction pointed out by dhag
|
| Mar 30, 2015 at 0:33 | comment | added | dhag |
The right branch of || won't get executed if chmod is successful... not that it makes much of a computational difference here.
|
|
| Mar 30, 2015 at 0:21 | comment | added | Gerry | I added this answer as an alternative to promote the practice writing readable code. | |
| Mar 30, 2015 at 0:19 | history | answered | Gerry | CC BY-SA 3.0 |