fixed a minor error dealing with flow control

This commit is contained in:
bluesaxman 2020-01-21 14:31:17 -07:00
parent 9160e701b8
commit d055bc7938

View File

@ -4,7 +4,8 @@ use warnings;
use Math::Trig;
sub checksources {
return `./wttrin.sh` or `./weatherbug.sh` or `./weathergov.sh` or print "Not Available\n\n#FF0000" and exit 33;
my $weather = `./wttrin.sh` or `./weatherbug.sh` or `./weathergov.sh` or print "Not Available\n\n#FF0000" and exit 33;
return $weather;
}
sub wavegen {