Unverified Commit fd8db56d authored by Hussein Galal's avatar Hussein Galal Committed by GitHub

Fix wrong warning from restorecon in install script (#8871)

* Fix wrong warning from restorecon in install script Signed-off-by: 's avatargalal-hussein <hussein.galal.ahmed.11@gmail.com> * Fix wrong warning from restorecon in install script Signed-off-by: 's avatargalal-hussein <hussein.galal.ahmed.11@gmail.com> --------- Signed-off-by: 's avatargalal-hussein <hussein.galal.ahmed.11@gmail.com>
parent 78ea5937
......@@ -967,8 +967,8 @@ create_service_file() {
}
restore_systemd_service_file_context() {
restorecon -R -i ${FILE_K3S_SERVICE} || true
restorecon -R -i ${FILE_K3S_ENV} || true
$SUDO restorecon -R -i ${FILE_K3S_SERVICE} 2>/dev/null || true
$SUDO restorecon -R -i ${FILE_K3S_ENV} 2>/dev/null || true
}
# --- get hashes of the current k3s bin and service files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment