diff --git a/CheckIntegrity b/CheckIntegrity index d6aeb19..78cb3fc 100644 --- a/CheckIntegrity +++ b/CheckIntegrity @@ -16,8 +16,7 @@ error(){ [ $# -ne 3 ] && printf "${bold}Input is wrong!${normal}\n\n" && error && exit -1 # main code -f=$1 -f+="sum $2 | cut -d ' ' -f1" +f="$1sum $2 | cut -d ' ' -f1" if [ $(eval $f) = "$3" ]; then echo "$2 is ${bold}fine.${normal}"