diff options
author | Patrick Murphy <patrick.muprphy@multitech.com> | 2020-04-22 22:11:23 -0500 |
---|---|---|
committer | Patrick Murphy <patrick.muprphy@multitech.com> | 2020-04-22 22:11:23 -0500 |
commit | af78ffa1471e2a4d821dc31b8b523dc2b95f464a (patch) | |
tree | 9ae62b878b91cc62f85f7248036d2cfb9c539336 /src/commission_func.cc | |
parent | ae0e5f5ac7c7b644d62d6eb8c6df171e77776680 (diff) | |
download | commissioning-af78ffa1471e2a4d821dc31b8b523dc2b95f464a.tar.gz commissioning-af78ffa1471e2a4d821dc31b8b523dc2b95f464a.tar.bz2 commissioning-af78ffa1471e2a4d821dc31b8b523dc2b95f464a.zip |
fixed error that mislabeld username when assigning password
Diffstat (limited to 'src/commission_func.cc')
-rw-r--r-- | src/commission_func.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commission_func.cc b/src/commission_func.cc index e28cda3..08840c9 100644 --- a/src/commission_func.cc +++ b/src/commission_func.cc @@ -169,7 +169,7 @@ int begin_fcgi() { } /****passwd****/ - fpopen = popen(passwd_cmd_gen(tmp_pass).c_str(), "w"); + fpopen = popen(passwd_cmd_gen(tmp_usrname).c_str(), "w"); if (fpopen == NULL) { syslog (LOG_ALERT, "popen for passwd failed to return a useful pointer"); //handle error via logging, closing |