diff --git a/setup/so-functions b/setup/so-functions index 79c051e23..a3d500563 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -2048,7 +2048,8 @@ saltify() { # this can be removed when https://github.com/saltstack/salt/issues/64195 is resolved if [ $SALTVERSION == "3006.1" ]; then - logCmd "echo y | cp -v ./files/patch/states/x509_v2.py /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/x509_v2.py" + info "Salt version 3006.1 found. Patching /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/x509_v2.py" + \cp -v ./files/patch/states/x509_v2.py /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/x509_v2.py" fi }