summaryrefslogtreecommitdiffstats
path: root/src/mutex.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-10-07 16:58:50 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-10-07 16:58:50 (EDT)
commit6a4c4b1696e6f81c1d53f5e8a51bb2589a608bfc (patch)
treea410715568763555733b8ff0a7d381443497b40d /src/mutex.sh
parent5393e50727c29bd29c4461019e2b426f701a88c5 (diff)
session_end(): Block signals for func's lifetime
If prokit receives a signal (e.g. the user hits Ctrl+C) while session_end() is running (e.g. while unmounting file systems), the system can be left in an unclean state (e.g. with some file systems still mounted and the sessions change mutex permanently locked).
Diffstat (limited to 'src/mutex.sh')
0 files changed, 0 insertions, 0 deletions