]> git.proxmox.com Git - pve-storage.git/commitdiff
add trailing newline to error message
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 30 Jun 2020 12:19:24 +0000 (14:19 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 30 Jun 2020 12:19:24 +0000 (14:19 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Storage.pm

index d5b5cb97964d8a637a74c16281db2041c109555c..853287802b59055d54c8e42c12a4c53004af283b 100755 (executable)
@@ -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 {