From 3d778b4feb4be4f977dbdcd9b1373b513d9b15f3 Mon Sep 17 00:00:00 2001 From: Robbert Klarenbeek Date: Wed, 14 Feb 2024 20:21:39 +0100 Subject: [PATCH] fix: Match existing code style Co-authored-by: Casper --- target/scripts/startup/setup.d/mail_state.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/scripts/startup/setup.d/mail_state.sh b/target/scripts/startup/setup.d/mail_state.sh index be15e23a..5acf6762 100644 --- a/target/scripts/startup/setup.d/mail_state.sh +++ b/target/scripts/startup/setup.d/mail_state.sh @@ -50,7 +50,7 @@ function _setup_save_states() { mv "${SERVICEFILE}" "${DEST}" # Apply SELinux security context to match the state directory, so access # is not restricted to the current running container: - chcon -R --reference="${STATEDIR}" "${DEST}" 2> /dev/null || true + chcon -R --reference="${STATEDIR}" "${DEST}" 2>/dev/null || true fi # Symlink the original file in the container ($SERVICEFILE) to be @@ -74,7 +74,7 @@ function _setup_save_states() { mv "${SERVICEDIR}" "${DEST}" # Apply SELinux security context to match the state directory, so access # is not restricted to the current running container: - chcon -R --reference="${STATEDIR}" "${DEST}" 2> /dev/null || true + chcon -R --reference="${STATEDIR}" "${DEST}" 2>/dev/null || true fi # Symlink the original path in the container ($SERVICEDIR) to be