View Issue Details

IDProjectCategoryView StatusLast Update
0018930phpList 3 applicationCommand Linepublic04-11-17 22:22
Reporterjin Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status newResolutionopen 
PlatformUbuntu LinuxOSLinuxOS VersionUbuntu 14.04.5
Product Version3.3.1 
Summary0018930: No "Exit Code" on error from phplist Command line
DescriptionWhen I try to process bounces manually by calling php and phplist from CLI, the script always returns exit code 0 (success) even when there is an error processing bounces. This causes problems when this call is part of a shell script that relies on the successful processing of bounces. There is no way to test if the processing bounces completed successfully.

Steps To ReproduceRemove php imap library
Manually processbounces from command line using the following commands
   /usr/bin/php <PHPLIST_PATH> -pprocessbounces -c <PHPLIST_CONFIG_PATH>
   echo $?

The exit code ($?) is always 0 even though I get the following message to stdout
Error: IMAP is not included in your PHP installation, cannot continue
Check out
TagsNo tags attached.


There are no notes attached to this issue.