Skip to content

Commit

Permalink
fix syntax, add message
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed May 29, 2015
1 parent 32cbfae commit a287246
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/subroutines
Expand Up @@ -475,7 +475,8 @@ task_mountdisks() {
sendmon "TASKERROR mountdisks 885"
task_error 885
fi
if [ $do_init_tasks -eq 1 -a mountpoint -q $target ]; then
if [ $do_init_tasks -eq 1 ] && mountpoint -q $target; then
echo "$target is not a mount point. Check your disk_config file."
sendmon "TASKERROR mountdisks 886"
task_error 886
fi
Expand Down

0 comments on commit a287246

Please sign in to comment.