From: Thomas Lamprecht Date: Tue, 30 Jun 2020 12:19:24 +0000 (+0200) Subject: add trailing newline to error message X-Git-Url: https://git.proxmox.com/?p=pve-storage.git;a=commitdiff_plain;h=9afd3be18c2934ae3a1fab53e20857c36c57472e add trailing newline to error message Signed-off-by: Thomas Lamprecht --- diff --git a/PVE/Storage.pm b/PVE/Storage.pm index d5b5cb9..8532878 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -1199,7 +1199,7 @@ sub scan_cifs { # we support only Windows grater than 2012 cifsscan so use smb3 my $cmd = ['/usr/bin/smbclient', '-m', 'smb3', '-d', '0', '-L', $server]; if (defined($user)) { - die "password is required" if !defined($password); + die "password is required\n" if !defined($password); push @$cmd, '-U', "$user\%$password"; push @$cmd, '-W', $domain if defined($domain); } else {