Browse Source

Fix a typo

pull/946/head
Max Lv 8 years ago
parent
commit
cb0cc25fd9
1 changed files with 1 additions and 1 deletions
  1. 2
      src/utils.c

2
src/utils.c

@ -155,7 +155,7 @@ run_as(const char *user)
user, strerror(errno));
return 0;
}
if (setresuid(pwd->pw_uid, 0) != 0) {
if (setreuid(pwd->pw_uid, 0) != 0) {
LOGE("Could not change user id to that of run_as user '%s': %s",
user, strerror(errno));
return 0;

Loading…
Cancel
Save