Remove unwanted printf

This commit is contained in:
Jeremy Gardais 2019-10-08 18:25:02 +02:00
parent b43e40d9a1
commit 6274615d32
1 changed files with 1 additions and 3 deletions

View File

@ -160,8 +160,7 @@ for game_id in ${steam_games}; do
;;
*)
printf '\e[1;35m%-6s\e[m\n' "Data of ${game_id} (userdata) ${local_game_path} are not managed. Type: ${local_game_path_type}. Abort"
# TODO: why test twice the last game_id and exit on symbolic link…
#exit 3
exit 3
;;
esac
@ -198,7 +197,6 @@ done
# List userdata unmanage game id {{{
cd -- "${local_steam_userdata}" || exit 1
rm -f -- "${local_unmanaged_games_list}"
printf '\e[1;35m%-6s\e[m\n' "Data of ${game_id} ${local_game_path} are not managed. Type: ${local_game_path_type}. Abort"
find . -maxdepth 1 -type d | grep -vE "${ignore_pattern_steam_id}" > "${local_unmanaged_games_list}"
if [ -s "${local_unmanaged_games_list}" ]; then
printf '\e[1;35m%-6s\e[m\n' "List of unmanaged directories:"