Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

Commit 5ce6b05

Browse files
committed
oo-restorecon: run it on the gear's top level dir
Fixes: BZ 1271338
1 parent 123da46 commit 5ce6b05

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

node-util/sbin/oo-restorecon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ end
4040
def restore_con(dir, label, verbose = False)
4141
puts "restorecon -R #{dir}" if verbose
4242
%x[restorecon -R #{dir} ]
43-
puts "chcon -l #{label} -R #{dir}*" if verbose
44-
%x[chcon -l #{label} -R #{dir}* ]
43+
puts "chcon -l #{label} -R #{dir}" if verbose
44+
%x[chcon -l #{label} -R #{dir} ]
4545
end
4646

4747
SelinuxContext = OpenShift::Runtime::Utils::SelinuxContext

0 commit comments

Comments
 (0)