Skip to content

Commit

Permalink
Print to stderr, if seccomp is enabled and not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuesch committed Oct 17, 2024
1 parent aae41a2 commit 5a5a2e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion letmeind/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fn install_seccomp_rules(seccomp: Seccomp) -> ah::Result<()> {
.install()
.context("Install seccomp filter")?;
} else {
println!(
eprintln!(
"WARNING: Not using seccomp. \
Letmein does not support seccomp on this architecture, yet."
);
Expand Down
2 changes: 1 addition & 1 deletion letmeinfwd/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ fn install_seccomp_rules(seccomp: Seccomp) -> ah::Result<()> {
.install()
.context("Install seccomp filter")?;
} else {
println!(
eprintln!(
"WARNING: Not using seccomp. \
Letmein does not support seccomp on this architecture, yet."
);
Expand Down

0 comments on commit 5a5a2e8

Please sign in to comment.