Return value from csf -u
Posted: 16 Oct 2019, 21:06
Hello,
i need to do some thing after a csf update was successful.
Therefore i disabled the autoupdate and call the update by hand with csf -u.
Is it possible to get different return codes or something like this to know if there where no update (because latest version is installed) or if a new version was installed?
As alternative solution it would be great if i can configure an after-update-script or something like that.
Best regards,
Frederic
i need to do some thing after a csf update was successful.
Therefore i disabled the autoupdate and call the update by hand with csf -u.
Is it possible to get different return codes or something like this to know if there where no update (because latest version is installed) or if a new version was installed?
As alternative solution it would be great if i can configure an after-update-script or something like that.
Best regards,
Frederic