[PATCH 1/2] wdmd: trap also SIGINT for a clean exit