Skip to content
Snippets Groups Projects
Commit 30d82842 authored by Danny Auble's avatar Danny Auble
Browse files

Fix minor formatting

parent e422127c
No related branches found
No related tags found
No related merge requests found
...@@ -2558,7 +2558,7 @@ static bool _verify_clustername(void) ...@@ -2558,7 +2558,7 @@ static bool _verify_clustername(void)
char name[512]; char name[512];
bool create_file = false; bool create_file = false;
xstrfmtcat(filename, "%s/clustername", xstrfmtcat(filename, "%s/clustername",
slurmctld_conf.state_save_location); slurmctld_conf.state_save_location);
if ((fp = fopen(filename, "r"))) { if ((fp = fopen(filename, "r"))) {
/* read value and compare */ /* read value and compare */
...@@ -2566,15 +2566,15 @@ static bool _verify_clustername(void) ...@@ -2566,15 +2566,15 @@ static bool _verify_clustername(void)
fclose(fp); fclose(fp);
if (xstrcmp(name, slurmctld_conf.cluster_name)) { if (xstrcmp(name, slurmctld_conf.cluster_name)) {
fatal("CLUSTER NAME MISMATCH.\n" fatal("CLUSTER NAME MISMATCH.\n"
"slurmctld has been started with \"" "slurmctld has been started with \""
"ClusterName=%s\", but read \"%s\" from " "ClusterName=%s\", but read \"%s\" from "
"the state files in StateSaveLocation.\n" "the state files in StateSaveLocation.\n"
"Running multiple clusters from a shared " "Running multiple clusters from a shared "
"StateSaveLocation WILL CAUSE CORRUPTION.\n" "StateSaveLocation WILL CAUSE CORRUPTION.\n"
"Remove %s to override this safety check if " "Remove %s to override this safety check if "
"this is intentional (e.g., the ClusterName " "this is intentional (e.g., the ClusterName "
"has changed).", name, "has changed).", name,
slurmctld_conf.cluster_name, filename); slurmctld_conf.cluster_name, filename);
exit(1); exit(1);
} }
} else if (slurmctld_conf.cluster_name) } else if (slurmctld_conf.cluster_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment