diff --git a/bin/foamMonitor b/bin/foamMonitor index e52747b37a..32b62d7929 100755 --- a/bin/foamMonitor +++ b/bin/foamMonitor @@ -3,7 +3,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | Website: https://openfoam.org -# \\ / A nd | Copyright (C) 2015-2019 OpenFOAM Foundation +# \\ / A nd | Copyright (C) 2015-2021 OpenFOAM Foundation # \\/ M anipulation | #------------------------------------------------------------------------------ # License @@ -151,7 +151,7 @@ do done [ $# -eq 1 ] || error "Incorrect arguments specified" -[ -f "$1" ] || error "File $1 does not exit" +[ -f "$1" ] || error "File $1 does not exist" file=$1 # Get keys from header