- martin
Post a reply
Topic review
- azmal_g
script returns exit code 0 when No file matching
Script is in place to ftp the file if the pattern of the file is matched.
When there is no file aswell the script exits with exit code 0
Script: No file matching '*.zip' found.
Script: exit
Script: Exit code: 0
Disconnected from server
Can we the exit code be changed to 1 or any other code if the file is not found.
When there is no file aswell the script exits with exit code 0
Script: No file matching '*.zip' found.
Script: exit
Script: Exit code: 0
Disconnected from server
Can we the exit code be changed to 1 or any other code if the file is not found.