updated handler for ctrl-C to sync filesystem
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
################################################################################
|
||||
################################################################################
|
||||
#
|
||||
# Copyright (c) 2015, EURECOM (www.eurecom.fr)
|
||||
# All rights reserved.
|
||||
@@ -458,6 +458,8 @@ CURPID=$$
|
||||
ppid=$$
|
||||
arraycounter=1
|
||||
echo_info "** Trapped CTRL-C. Killing all subprocesses now..."
|
||||
echo_info "** Calling sync now..."
|
||||
sync
|
||||
while true
|
||||
do
|
||||
FORLOOP=FALSE
|
||||
|
||||
Reference in New Issue
Block a user