bleistift2 to Programmer Humor@programming.devEnglish · 1 month agoThinking I could clean up my files in a SIGINT handlerimagemessage-square47fedilinkarrow-up1373arrow-down13
arrow-up1370arrow-down1imageThinking I could clean up my files in a SIGINT handlerbleistift2 to Programmer Humor@programming.devEnglish · 1 month agomessage-square47fedilink
minus-squarebleistift2OPlinkfedilinkEnglisharrow-up3·1 month 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.