diff options
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-x | perl-install/standalone/drakconnect | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index f91700ec5..1a872f19e 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -197,8 +197,9 @@ $window1->{window}->add( clicked => sub { $dialog->destroy }), gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => sub { #warn if already existing - - network::netconnect::add_profile($netcnx, $entry_dialog->get_text); + my $prof = $entry_dialog->get_text; + $prof =~ s/ /_/g; + network::netconnect::add_profile($netcnx, $prof); update_profiles(); $dialog->destroy; }), |