summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-webadmin/webmin/files/exports-lib.pl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-webserver/recipes-webadmin/webmin/files/exports-lib.pl.patch')
-rw-r--r--meta-webserver/recipes-webadmin/webmin/files/exports-lib.pl.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-webserver/recipes-webadmin/webmin/files/exports-lib.pl.patch b/meta-webserver/recipes-webadmin/webmin/files/exports-lib.pl.patch
index 140ae7e45..177d8a372 100644
--- a/meta-webserver/recipes-webadmin/webmin/files/exports-lib.pl.patch
+++ b/meta-webserver/recipes-webadmin/webmin/files/exports-lib.pl.patch
@@ -24,7 +24,7 @@ index 22891c0..1c67494 100755
24 # Try exportfs -r first 24 # Try exportfs -r first
25-if ($config{'apply_cmd'} && &find_byname("nfsd") && &find_byname("mountd")) { 25-if ($config{'apply_cmd'} && &find_byname("nfsd") && &find_byname("mountd")) {
26+if ($config{'apply_cmd'} && &find_byname("mountd")) { 26+if ($config{'apply_cmd'} && &find_byname("mountd")) {
27 local $out = &backquote_logged("$config{'apply_cmd'} 2>&1 </dev/null"); 27 my $out = &backquote_logged("$config{'apply_cmd'} 2>&1 </dev/null");
28 if (!$? && $out !~ /invalid|error|failed/i) { 28 if (!$? && $out !~ /invalid|error|failed/i) {
29 # Looks like it worked! 29 # Looks like it worked!
30-- 30--