aboutsummaryrefslogtreecommitdiffstats
path: root/src/jailcheck/main.c
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-07-16 11:57:08 +0000
committerLibravatar GitHub <noreply@github.com>2023-07-16 11:57:08 +0000
commit2ebb09e346544785d1b4e27d7b779a2a7476ca3e (patch)
tree9871d689a1aa76836e8cb99ad69f845ed92a8680 /src/jailcheck/main.c
parentbleachbit.profile: allow erasing Trash contents (diff)
parentfeature: add doas support in firecfg and jailcheck (diff)
downloadfirejail-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.c2
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();