bleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · 8 days agoThinking I could clean up my files in a SIGINT handlersopuli.xyzimagemessage-square44fedilinkarrow-up1322arrow-down12
arrow-up1320arrow-down1imageThinking I could clean up my files in a SIGINT handlersopuli.xyzbleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · 8 days agomessage-square44fedilink
minus-squarebleistift2@sopuli.xyzOPlinkfedilinkEnglisharrow-up3·7 days 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.