fix: Match existing code style
Co-authored-by: Casper <casperklein@users.noreply.github.com>
This commit is contained in:
parent
fb8d48d249
commit
3d778b4feb
|
@ -50,7 +50,7 @@ function _setup_save_states() {
|
||||||
mv "${SERVICEFILE}" "${DEST}"
|
mv "${SERVICEFILE}" "${DEST}"
|
||||||
# Apply SELinux security context to match the state directory, so access
|
# Apply SELinux security context to match the state directory, so access
|
||||||
# is not restricted to the current running container:
|
# 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
|
fi
|
||||||
|
|
||||||
# Symlink the original file in the container ($SERVICEFILE) to be
|
# Symlink the original file in the container ($SERVICEFILE) to be
|
||||||
|
@ -74,7 +74,7 @@ function _setup_save_states() {
|
||||||
mv "${SERVICEDIR}" "${DEST}"
|
mv "${SERVICEDIR}" "${DEST}"
|
||||||
# Apply SELinux security context to match the state directory, so access
|
# Apply SELinux security context to match the state directory, so access
|
||||||
# is not restricted to the current running container:
|
# 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
|
fi
|
||||||
|
|
||||||
# Symlink the original path in the container ($SERVICEDIR) to be
|
# Symlink the original path in the container ($SERVICEDIR) to be
|
||||||
|
|
Loading…
Reference in New Issue