dotphiles/dotsync — pull request #8 by bdcribbs (2013-04-27 03:25:30+00:00)
Title: abort

Added an exit trap on SIGINT so that CTRL-C when running dotsync stops it right away.

Without this, an interrupt signal (during a remote call) will stop the remote process only. Then it goes on and does the next one. This trap causes it to stop altogether.