On Mon, Mar 17, 2014 at 03:49:17PM +0800, Baoquan He wrote:
[..]
+
+ if [ ! -d ${_mnt}/$SAVE_PATH ]; then
+ perror_exit "Please check if path:$SAVE_PATH has been created."
+ fi
I think just say.
"Dump path $SAVE_PATH does not exist."
Rest of the patch looks good to me.
Vivek