Skip to content

Commit 4a963b4

Browse files
kelviemfialaf
authored andcommitted
Fix install.fish
install.fish script didn't catch error exit code from idf_tools.py. Now it does. Signed-off-by: Marek Fiala <marek.fiala@espressif.com> Closes: espressif#7325
1 parent fb78f13 commit 4a963b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

install.fish

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ else
1414
end
1515
echo "Installing ESP-IDF tools"
1616
"$ESP_PYTHON" "$IDF_PATH"/tools/idf_tools.py install --targets=$TARGETS
17-
exit 1
18-
end
17+
or exit 1
1918

2019
echo "Installing Python environment and packages"
2120
"$ESP_PYTHON" "$IDF_PATH"/tools/idf_tools.py install-python-env

0 commit comments

Comments
 (0)