Skip to content

Commit 2405f30

Browse files
authored
Merge pull request #77 from rancher-sandbox/dir-check
2 parents b04c4d1 + df2a400 commit 2405f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/lima-and-qemu.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
for my $example (@ARGV) {
4646
my $config = "$repo_root/examples/$example.yaml", ;
4747
die "Config $config not found" unless -f $config;
48-
system("limactl delete -f $example") if -f "$ENV{HOME}/.lima/$example";
48+
system("limactl delete -f $example") if -d "$ENV{HOME}/.lima/$example";
4949
system("limactl start --tty=false $config");
5050
system("limactl shell $example uname");
5151
system("limactl stop $example");

0 commit comments

Comments
 (0)