Updated stub to set tty flags for progress meters
If we get an error, exit(1)