diff options
author | 2023-07-16 11:57:08 +0000 | |
---|---|---|
committer | 2023-07-16 11:57:08 +0000 | |
commit | 2ebb09e346544785d1b4e27d7b779a2a7476ca3e (patch) | |
tree | 9871d689a1aa76836e8cb99ad69f845ed92a8680 /src/jailcheck/main.c | |
parent | bleachbit.profile: allow erasing Trash contents (diff) | |
parent | feature: add doas support in firecfg and jailcheck (diff) | |
download | firejail-2ebb09e346544785d1b4e27d7b779a2a7476ca3e.tar.gz firejail-2ebb09e346544785d1b4e27d7b779a2a7476ca3e.tar.zst firejail-2ebb09e346544785d1b4e27d7b779a2a7476ca3e.zip |
Merge pull request #5900 from kmk3/firecfg-support-doas
feature: add doas support in firecfg and jailcheck
Diffstat (limited to 'src/jailcheck/main.c')
-rw-r--r-- | src/jailcheck/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jailcheck/main.c b/src/jailcheck/main.c index 93d334c7a..6cc5cf904 100644 --- a/src/jailcheck/main.c +++ b/src/jailcheck/main.c | |||
@@ -86,7 +86,7 @@ int main(int argc, char **argv) { | |||
86 | 86 | ||
87 | // user setup | 87 | // user setup |
88 | if (getuid() != 0) { | 88 | if (getuid() != 0) { |
89 | fprintf(stderr, "Error: you need to be root (via sudo) to run this program\n"); | 89 | fprintf(stderr, "Error: you need to be root (via sudo or doas) to run this program\n"); |
90 | exit(1); | 90 | exit(1); |
91 | } | 91 | } |
92 | user_name = get_sudo_user(); | 92 | user_name = get_sudo_user(); |