Redirect otc-tools stderr in file

Needed later for error handling
This commit is contained in:
Sebastian Haderecker 2019-04-16 08:52:27 +00:00
parent 1a12f6c881
commit ef9fd95e61

View file

@ -78,7 +78,7 @@ echo "### Creating new ECS host via OTC API..."
--disktype SATA\ --disktype SATA\
--az $az\ --az $az\
--wait \ --wait \
2> /dev/null 2> otc_tools.log
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then