exportfs: Exit with correct value when an error occurs
Subsystems (2)
PATCH 1/1 exportfs: Exit with correct value when an error occurs
Signed-off-by Steve Dickson <[email protected]>
--- support/nfs/exports.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
support/nfs/exports.c +1 -1
@@ -366,7 +366,7 @@ mkexportent(char *hname, char *path, char *options) ee.e_hostname =xstrdup (hname);if (strlen (path) >=sizeof (ee.e_path)) { -xlog (L_WARNING ,"path name %s too long" , path); +xlog (L_ERROR ,"path name %s too long" , path);return NULL ; }strncpy (ee.e_path, path,sizeof (ee.e_path));
Signature · 1 line
1.8.3.1