bleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · 2 years agoThinking I could clean up my files in a SIGINT handlersopuli.xyzexternal-linkmessage-square43linkfedilinkarrow-up1381arrow-down13
arrow-up1378arrow-down1external-linkThinking I could clean up my files in a SIGINT handlersopuli.xyzbleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · 2 years agomessage-square43linkfedilink
minus-squarebleistift2@sopuli.xyzOPlinkfedilinkEnglisharrow-up3·2 years agoWhen I run the script myself and kill it, it gets the signal and acts correctly. Only when I poweroff the system, this doesn’t work. I also tried prepending exec, but no dice.
When I run the script myself and kill it, it gets the signal and acts correctly. Only when I poweroff the system, this doesn’t work.
I also tried prepending
exec, but no dice.