Skip to content

Commit

Permalink
selinux: Avoid parameter duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
Vogtinator committed Sep 25, 2024
1 parent bd7b1fa commit 7d23be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selinux/selinux-autorelabel-generator
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ enable_units() {
relabel_unit_list="$unitfile $relabel_unit_list"

opts="-T 0"
[ "${realdir}" == "/.snapshots" ] && opts="-T 0 -x"
[ "${realdir}" == "/.snapshots" ] && opts="${opts} -x"

cat >"${generatordir}/${unitfile}" <<-EOF
[Unit]
Expand Down

0 comments on commit 7d23be0

Please sign in to comment.