updated handler for ctrl-C to sync filesystem

This commit is contained in:
Rohit Gupta
2016-08-04 16:14:21 +02:00
parent 630f2dd93e
commit 626583c159
+3 -1
View File
@@ -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