Skip to content

Commit

Permalink
Use sudo + SIGKILL (travis VMs allow for that)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Dec 1, 2011
1 parent 0411b01 commit c8b2b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vagrant_base/timetrap/files/default/timetrap
Expand Up @@ -79,7 +79,7 @@ fi
done

# The 'exit 1' below will be executed if any preceeding command fails.
kill -s SIGKILL $$ && kill -0 $$ && echo $timeoutMessage && exit 1
sudo kill -s SIGKILL $$ && kill -0 $$ && echo $timeoutMessage && exit 1
exit 1
) 2> /dev/null &

Expand Down

0 comments on commit c8b2b8f

Please sign in to comment.