Blob Blame History Raw
diff -up nfs-utils-1.3.0/utils/gssd/gssd.c.orig nfs-utils-1.3.0/utils/gssd/gssd.c
--- nfs-utils-1.3.0/utils/gssd/gssd.c.orig	2020-04-24 11:48:07.182491964 -0400
+++ nfs-utils-1.3.0/utils/gssd/gssd.c	2020-04-24 11:54:58.235059480 -0400
@@ -1016,11 +1016,11 @@ main(int argc, char *argv[])
 			    "support setting debug level\n");
 #endif
 
+	daemon_init(fg);
+
 	if (gssd_check_mechs() != 0)
 		errx(1, "Problem with gssapi library");
 
-	daemon_init(fg);
-
 	event_init();
 
 	pipefs_dir = opendir(pipefs_path);