summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksambashare
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/draksambashare')
-rwxr-xr-xperl-install/standalone/draksambashare3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/standalone/draksambashare b/perl-install/standalone/draksambashare
index 6f668cf88..235532e3a 100755
--- a/perl-install/standalone/draksambashare
+++ b/perl-install/standalone/draksambashare
@@ -630,7 +630,6 @@ sub modify_printers_entry {
}
# update gui SimpleList
remove_entry($selected, $printer_list);
- my $share = $share_name->get_text;
push @{$printer_list->{data}}, [
$pixbuf_printer,
$share,
@@ -893,7 +892,7 @@ sub remove_user {
system("smbpasswd -x $user");
}
-sub get_user {
+sub get_user() {
my $conf = "/etc/passwd";
my @data; local $_;
foreach (cat_($conf)) {