remove unecessary icacls check

pull/13896/head
Steven Powell 2022-03-31 15:46:37 -07:00
parent ee5f619a50
commit 070e5335e0
1 changed files with 0 additions and 4 deletions

View File

@ -262,10 +262,6 @@ func (d *Driver) prepareSSH() error {
if icaclsCmdErr != nil {
return errors.Wrap(icaclsCmdErr, fmt.Sprintf("unable to execute icacls to set permissions: %s", icaclsCmdOut))
}
if !strings.Contains(string(icaclsCmdOut), "Successfully processed 1 files; Failed processing 0 files") {
klog.Errorf("icacls failed applying permissions - err - [%s], output - [%s]", icaclsCmdErr, strings.TrimSpace(string(icaclsCmdOut)))
}
}
}