Browse Source

Fixed bin/sde-commit to react to CTRL-C correctly even before "$logfile" gets defined

karasz/new-early
Alejandro Mery 17 years ago
parent
commit
4d1b5ec2c1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/sde-commit

+ 1
- 1
bin/sde-commit

@ -33,7 +33,7 @@ commit_abort() {
echo_error "Got SIGINT (Crtl-C)."
rm -f $tmpfile.status $tmpfile.diff
[ $logfile != $tmpfile.log ] || rm -f $logfile
[ -n "$logfile" -a "$logfile" != "$tmpfile.log" ] || rm -f "$logfile"
exit 1
}

Loading…
Cancel
Save