Skip to contentSkip to conversation

ctrl-C doesn't work

DISCUSSION Denys Vlasenko 2 participants 2 messages Sep 26, 2007 Kernel automounter

lore
Share & tools
lore
#0 lore raw

Hi Ian,

I run automounter in foreground mode, and when I start it from command line, it does not die on SIGINT:

automount -f -s -v --timeout 15 $PWD/master.file
Starting automounter version 5.0.0_beta1, master map /.local/var/service/automount/master.file using kernel protocol version 5.00
using timeout 15 seconds; freq 4 secs
-- I press ctrl-C several times
statemachine: got unexpected signal 2!
statemachine: got unexpected signal 2!
statemachine: got unexpected signal 2!

What do you think about making SIGINT equivalent to SIGTERM? This will be more convenient...
--
vda

maintainer
#1 lore raw
Quoted 4 lines · Denys Vlasenko

Hi Ian,

I run automounter in foreground mode, and when I start it from command line, it does not die on SIGINT:

Yep, forground logging fix patch catches that.