Commit 9bc3da63 authored by Ramon Nou's avatar Ramon Nou
Browse files

adding error control on concatenate

parent 933210d3
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -31,6 +31,13 @@ fi

echo Concatenating two gekko files
cat ${ROOT}/large_file_01 >> ${ROOT}/large_file_02
retval=$?

if [ $retval -ne 0 ]; then
	echo Something wrong on concatenation
        exit 1
fi


stat ${ROOT}/large_file_02