Browse Source

fix err - create vm.log

Кошуба Валерий 5 years ago
parent
commit
32376c57c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kvm-snapshot.sh

+ 1 - 1
kvm-snapshot.sh

@@ -220,7 +220,7 @@ esac
220 220
 #<functions>
221 221
 #<Fn test lock file>
222 222
 testproc(){
223
-if [ -f $scriptlog ];
223
+if [ ! -f $scriptlog ];
224 224
  then
225 225
     echo > $scriptlog;
226 226
 fi