Skip to content

Commit

Permalink
myconfig: Store customized service name
Browse files Browse the repository at this point in the history
  • Loading branch information
updateing committed Dec 6, 2016
1 parent 2915434 commit dd01c8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/myconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@ static void saveConfig(int daemonMode)
setString(&buf, "MentoHUST", "Password", pass);
#endif
setString(&buf, "MentoHUST", "Username", userName);
setString(&buf, "MentoHUST", "ServiceName", serviceName);
if (saveFile(buf, CFG_FILE) != 0)
printf(_("!! 保存认证参数到%s失败!\n"), CFG_FILE);
else
Expand Down

0 comments on commit dd01c8f

Please sign in to comment.