#!/bin/bash timeout 299s ./calls.sh $1 ex=$? if [[ "$ex" == "124" ]]; then echo "MAYBE" echo "" echo "by tout" fi