Fixed stty call.
authoridl0r <idl0r@gentoo.org>
Fri, 1 May 2009 19:11:27 +0000 (19:11 -0000)
committeridl0r <idl0r@gentoo.org>
Fri, 1 May 2009 19:11:27 +0000 (19:11 -0000)
svn path=/; revision=571

trunk/src/echangelog/echangelog

index f4a0813749dc9a8c7884583c977825bef21ec853..0bd90fb5a3bbb874f839e3a6c8808b91a43830a4 100755 (executable)
@@ -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 {