Merge pull request #1394 from wstrm/fix-log-errors-call-external

Log errors from eval_password
This commit is contained in:
Michael Vetter
2020-07-06 11:06:24 +02:00
committed by GitHub

View File

@@ -201,9 +201,10 @@ account_eval_password(ProfAccount *account)
assert(account->eval_password != NULL);
gchar **output = NULL;
gchar **error = NULL;
gchar *argv[] = {"sh", "-c", account->eval_password, NULL};
if (!call_external(argv, &output, NULL)) {
if (!call_external(argv, &output, &error)) {
return FALSE;
}