diff options
Diffstat (limited to 'source3/printing/printing_db.c')
-rw-r--r-- | source3/printing/printing_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing_db.c b/source3/printing/printing_db.c index 746e768e48..762b418bb1 100644 --- a/source3/printing/printing_db.c +++ b/source3/printing/printing_db.c @@ -98,7 +98,7 @@ struct tdb_print_db *get_print_db_byname(const char *printername) return NULL; } - if (geteuid() != 0) { + if (geteuid() != sec_initial_uid()) { become_root(); done_become_root = True; } |