]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9649 Fix filebug script if EDITOR env variable not set
authorWilliam King <william.king@quentustech.com>
Thu, 20 Oct 2016 01:26:50 +0000 (18:26 -0700)
committerWilliam King <william.king@quentustech.com>
Thu, 20 Oct 2016 01:26:50 +0000 (18:26 -0700)
support-d/utils/filebug.pl

index aab2f1f0cab73f78c2c34aa59f2ffeae566a8070..7c22e2aaeeb461f38cb40767ebd7b5905fda9114 100755 (executable)
@@ -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");