We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ffdc7f commit 0601fceCopy full SHA for 0601fce
move-wsl
@@ -69,8 +69,8 @@ if [ -z $(wsl --list | iconv -f UTF-16LE -t UTF-8 | grep -E "(^|\s)$WSL_NAME($|\
69
exit 3
70
fi
71
72
-if [ ! -f "$WSL_TARGET/ext4.vhdx" ]; then
73
- echo "ERROR: Import failed. Target file not found. Export file at $TEMP_FILE"
+if [ ! -f "$WSL_TARGET/ext4.vhdx" ] && [ ! -d "$WSL_TARGET/rootfs" ]; then
+ echo "ERROR: Import failed. Target file/folder not found. Export file at $TEMP_FILE"
74
exit 4
75
76
0 commit comments