Better error msg if lockdir doesn't exist

tags/virt-backup-0.2.12-1
Daniel Berteaud 10 years ago
parent cd8e2a5bef
commit bf888f40e2
  1. 2
      virt-backup

@ -200,7 +200,7 @@ if (! -d $opts{backupdir} ){
# Lockdir, if defined, must also exist
if ($opts{lockdir} ne '' && !-d $opts{lockdir}){
print "$opts{lockdir} is not a valid directory\n";
print "$opts{lockdir} doesn't exist\n";
exit 1;
}

Loading…
Cancel
Save