Maksim Usmanov | Maks 2 years ago
parent
commit
0c57c3fbd6
1 changed files with 1 additions and 2 deletions
  1. 1 2
      bin/v-dump-database

+ 1 - 2
bin/v-dump-database

@@ -68,8 +68,7 @@ esac
 
 if [ "$compression" = 'zstd' ]; then
 	extension="sql.zst"
-	pzstd $dump
-	rm $dump
+	pzstd --rm $dump
 	dump="$tmpdir/$database.$TYPE.sql.zst"
 elif [ "$compression" = 'gzip' ]; then
 	extension="sql.gz"