RedditEnjoyer@lemmy.world to Linux@lemmy.ml · 8 months agoA Linux user's nightmare: the machine was wiped clean with one clickwww.mikrobitti.fiexternal-linkmessage-square14fedilinkarrow-up11arrow-down11file-text
arrow-up10arrow-down1external-linkA Linux user's nightmare: the machine was wiped clean with one clickwww.mikrobitti.fiRedditEnjoyer@lemmy.world to Linux@lemmy.ml · 8 months agomessage-square14fedilinkfile-text
minus-squareUnityDevice@startrek.websitelinkfedilinkarrow-up2·8 months agoset -euo pipefail at the top of every script makes stuff a lot safer. Explanation here.
set -euo pipefail
at the top of every script makes stuff a lot safer. Explanation here.