24df7bdc57
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=52
20 lines
544 B
Diff
20 lines
544 B
Diff
Author: Lars Mueller <lmuelle@suse.com>
|
|
Subject: cifs-utils don't make use of stored return code
|
|
Bugzilla: na
|
|
Upstream-Reported: http://permalink.gmane.org/gmane.linux.kernel.cifs/5935
|
|
Upstream-Acknowledged: Yes
|
|
|
|
Index: cifs-utils-5.4/mount.cifs.c
|
|
===================================================================
|
|
--- cifs-utils-5.4.orig/mount.cifs.c
|
|
+++ cifs-utils-5.4/mount.cifs.c
|
|
@@ -577,7 +577,7 @@ toggle_dac_capability(int writable, int
|
|
}
|
|
free_caps:
|
|
cap_free(caps);
|
|
- return 0;
|
|
+ return rc;
|
|
}
|
|
#else /* HAVE_LIBCAP */
|
|
static int
|