redirect output to stderr

This commit is contained in:
Chandrasekhar Gadde committed 2026-03-23 19:49:43 +05:30
1 parent 27dc687f5e
commit 7e6d56051f
1 file changed
+2 -2
+2 -2
View File
@@ -42,7 +42,7 @@ if [ "$1" = 'boundary' ]; then
chown -R boundary:boundary /boundary || echo "Could not chown /boundary (may not have appropriate permissions)"
fi
else
echo "SKIP_CHOWN not set but running non-root; skipping chown /boundary"
>&2 echo "SKIP_CHOWN not set but running non-root; skipping chown /boundary"
fi
fi
@@ -57,7 +57,7 @@ if [ "$1" = 'boundary' ]; then
setcap cap_ipc_lock=-ep $(readlink -f $(which boundary))
fi
else
echo "SKIP_SETCAP not set but running non-root; skipping setcap"
>&2 echo "SKIP_SETCAP not set but running non-root; skipping setcap"
fi
fi