projects
/
pve-storage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8594155
)
scan_cifs: fix scanning server with no SMB1 fallback
author
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Wed, 1 Jul 2020 13:33:14 +0000
(15:33 +0200)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Wed, 1 Jul 2020 13:46:30 +0000
(15:46 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Storage.pm
patch
|
blob
|
blame
|
history
diff --git
a/PVE/Storage.pm
b/PVE/Storage.pm
index 44ab62686e3fea521d3c7b04e7a5954f6766852e..bb80b079d7434012176e2d140fc4f376874a576a 100755
(executable)
--- a/
PVE/Storage.pm
+++ b/
PVE/Storage.pm
@@
-1219,7
+1219,9
@@
sub scan_cifs {
}
},
);
- raise($err) if $err;
+ # only die if we got no share, else it's just some followup check error
+ # (like workgroup querying)
+ raise($err) if $err && !%$res;
return $res;
}