From: idl0r Date: Fri, 1 May 2009 19:11:27 +0000 (-0000) Subject: Fixed stty call. X-Git-Tag: gentoolkit-0.3.0_rc5~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9139c85713adf2aa4610c14a36e5cc39a3c236c3;p=gentoolkit.git Fixed stty call. svn path=/; revision=571 --- diff --git a/trunk/src/echangelog/echangelog b/trunk/src/echangelog/echangelog index f4a0813..0bd90fb 100755 --- a/trunk/src/echangelog/echangelog +++ b/trunk/src/echangelog/echangelog @@ -477,7 +477,7 @@ if ($ARGV[0]) { if ($? != 0) { # This usually happens when the editor got forcefully killed; and # the terminal is probably messed up: so we reset things. - system('/usr/bin/stty sane'); + system('stty sane'); print STDERR "Editor died! Reverting to stdin method.\n"; undef $editor; } else {