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
+2
View File
@@ -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