contrib/difftool: change trap condition from SIGINT to INT
[gitweb.git] / contrib / difftool / git-difftool-helper
index f013726d0f77a4d8fd9faa00ec38e117e41bcb27..a2eb59b0f0d0afbc57cbf2b4debcd67dba46dd1e 100755 (executable)
@@ -53,7 +53,7 @@ launch_merge_tool () {
 
        # Create and ensure that we clean up $BACKUP
        test -f "$MERGED" && cp -- "$MERGED" "$BACKUP"
-       trap sigint_handler SIGINT
+       trap sigint_handler INT
 
        # $LOCAL and $REMOTE are temporary files so prompt
        # the user with the real $MERGED name before launching $merge_tool.