From: William King Date: Thu, 20 Oct 2016 01:26:50 +0000 (-0700) Subject: FS-9649 Fix filebug script if EDITOR env variable not set X-Git-Tag: v1.8.0~1177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=330bb12f5debd5a97b67795eb4441f58580e3207;p=thirdparty%2Ffreeswitch.git FS-9649 Fix filebug script if EDITOR env variable not set --- diff --git a/support-d/utils/filebug.pl b/support-d/utils/filebug.pl index aab2f1f0ca..7c22e2aaee 100755 --- a/support-d/utils/filebug.pl +++ b/support-d/utils/filebug.pl @@ -10,6 +10,7 @@ my $default_versions = "1.9 1.8"; my $default_components = "freeswitch-core"; my $desc_head = "; Enter the description lines beginning with a ; will be ignored.\n"; +chomp($editor); sub getpass { ReadMode( "noecho");