formatting

last change i swear. Ive just been trying to get things nicely formatted and working.
This commit is contained in:
Heavybullets8 2022-04-28 01:43:20 +00:00 committed by GitHub
parent ea90a42c74
commit e280bad4d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ do
exit;;
b)
number_of_backups=$OPTARG
echo "Number of backups was set to $number_of_backups"
echo -e "\nNumber of backups was set to $number_of_backups"
re='^[0-9]+$'
! [[ $number_of_backups =~ $re ]] && echo -e "Error: -b needs to be assigned an interger\n$number_of_backups is not an interger" >&2 && exit