UBuntu 16.04 Bash 4.4
In 4-bash-update.sh line 158:
cd "$drive00" && sudo -H -u myuser bash -c "timeout 2s ./binaryfile -gentoken" > "${save_log_dir}"/update-"${now}".log;
^-- SC2024: sudo doesn't affect redirects. Use ..| sudo tee file
I tried a few times and each time my file gets eaten.