Commit 626583c1 authored by Rohit Gupta's avatar Rohit Gupta

updated handler for ctrl-C to sync filesystem

parent 630f2dd9
################################################################################ ################################################################################
# #
# Copyright (c) 2015, EURECOM (www.eurecom.fr) # Copyright (c) 2015, EURECOM (www.eurecom.fr)
# All rights reserved. # All rights reserved.
...@@ -458,6 +458,8 @@ CURPID=$$ ...@@ -458,6 +458,8 @@ CURPID=$$
ppid=$$ ppid=$$
arraycounter=1 arraycounter=1
echo_info "** Trapped CTRL-C. Killing all subprocesses now..." echo_info "** Trapped CTRL-C. Killing all subprocesses now..."
echo_info "** Calling sync now..."
sync
while true while true
do do
FORLOOP=FALSE FORLOOP=FALSE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment