diff --git a/client/acct_mgr.cpp b/client/acct_mgr.cpp
index d69e820f63..0fcf69e0d1 100644
--- a/client/acct_mgr.cpp
+++ b/client/acct_mgr.cpp
@@ -155,7 +155,6 @@ int ACCT_MGR_OP::do_rpc(
" %s\n"
" %s\n"
" %d\n"
- " %s\n"
" %d\n"
" %f\n"
" %f\n"
@@ -169,12 +168,10 @@ int ACCT_MGR_OP::do_rpc(
" %f\n"
" %f\n"
" %d\n"
- " %d\n"
- " \n",
+ " %d\n",
p->master_url,
p->project_name,
p->suspended_via_gui?1:0,
- p->authenticator,
p->hostid,
not_started_dur,
in_progress_dur,
@@ -190,6 +187,15 @@ int ACCT_MGR_OP::do_rpc(
p->njobs_success,
p->njobs_fail
);
+ if (p->attached_via_acct_mgr) {
+ fprintf(f,
+ " %s\n",
+ p->authenticator
+ );
+ }
+ fprintf(f,
+ " \n"
+ );
}
MIOFILE mf;
mf.init_file(f);