Skip to content

Commit 3735b10

Browse files
committed
misc: remove dir exsists check
1 parent d3a9b75 commit 3735b10

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkgs/microvm-command.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ writeShellScriptBin "microvm" ''
102102
build "$NAME"
103103
104104
popd > /dev/null
105-
if [ -e "$DIR" ]; then
106-
echo "$DIR already exists."
107-
exit 1
108-
fi
109105
mv "$TEMP" "$DIR"
110106
chown :kvm -R "$DIR"
111107
chmod -R a+rX "$DIR"

0 commit comments

Comments
 (0)