diff options
Diffstat (limited to 'samba_wizard/Sambashare.pm')
-rwxr-xr-x | samba_wizard/Sambashare.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samba_wizard/Sambashare.pm b/samba_wizard/Sambashare.pm index d81fcbe2..ddf4fabf 100755 --- a/samba_wizard/Sambashare.pm +++ b/samba_wizard/Sambashare.pm @@ -233,7 +233,7 @@ $o->{pages} = { ], complete => sub { map { - if ($_ !~ /^\d+$/) { + if ($_ and $_ !~ /^\d+$/) { $::in->ask_warn(N("Error"), N("Create mask, force directory mode and force create mode should be numeric. ie: 0755.")) and return 1; } } $o->{var}{wiz_share_create_mask}, $o->{var}{wiz_share_force_directory_mode}, $o->{var}{wiz_share_force_create_mode}; |