There was an error while loading. Please reload this page.
2 parents fbcd9c2 + 81118db commit 1c1f025Copy full SHA for 1c1f025
heartbeat/nfsnotify.in
@@ -305,7 +305,7 @@ esac
305
which restorecon > /dev/null 2>&1 && selinuxenabled
306
SELINUX_ENABLED=$?
307
if [ $SELINUX_ENABLED -eq 0 ]; then
308
-export SELINUX_LABEL="$(ls -ldZ $STATD_PATH | cut -f4 -d' ')"
+export SELINUX_LABEL="$(ls -dZ $STATD_PATH | grep -o '\S\+:\S\+:\S\+')"
309
fi
310
311
case $__OCF_ACTION in
heartbeat/nfsserver
@@ -192,7 +192,7 @@ fi
192
193
194
195
196
197
198
##
0 commit comments