Describe the bug
When errors occur in the install_cacti.php script, the script should exit with a non-zero exit code, which it does not.
To Reproduce
Steps to reproduce the behavior:
-
Go to /var/www/html/cacti/cli
-
uninstall a critical php module such as ldap
-
Run the installer to install cacti. Not that there are errors
-
Run "echo $?" and note that the scripted exited with a zero error code
Expected behavior
CLI script should exit with non-zero exit codes when they fail.