diff --git a/games/factorio_manager.sh b/games/factorio_manager.sh index ccf1d99b2dda69b109d6b6945b9a538f51c9d495..e6257d0d109f57483a50db8b6db7e7db7b824ec6 100755 --- a/games/factorio_manager.sh +++ b/games/factorio_manager.sh @@ -1471,7 +1471,7 @@ elif [[ $command == backup ]]; then validate_path_or_terminate "backup_directory_new" "$backup_destination" "$ERROR_GENERAL" ( - + # shellcheck disable=SC2094 # Lock file is not being read from. lock "$lock_file" 200 # Backup the instance. Clean-up the backup destination in case of failure. @@ -1594,6 +1594,7 @@ elif [[ $command == restore ]]; then validate_path_or_terminate "backup_directory" "$restore_source" "$ERROR_ARGUMENTS" ( + # shellcheck disable=SC2094 # Lock file is not being read from. lock "$lock_file" 200 # Set-up a list of files and directories that will get removed. @@ -1947,6 +1948,7 @@ elif [[ $command == remove ]]; then validate_path_or_terminate "instance_directory" "$instance_directory" "$ERROR_ARGUMENTS" ( + # shellcheck disable=SC2094 # Lock file is not being read from. lock "$lock_file" 200 # Set-up a list of files and directories that will get removed. @@ -2050,6 +2052,7 @@ elif [[ $command == copy ]]; then validate_path_or_terminate "instance_directory_new" "$destination_instance_directory" "$ERROR_ARGUMENTS" ( + # shellcheck disable=SC2094 # Lock file is not being read from. lock "$source_lock_file" 200 # Load source instance configuration. @@ -2195,7 +2198,7 @@ elif [[ $command == import ]]; then select_factorio_version "$game_installations_directory" || exit "$ERROR_GENERAL" ( - + # shellcheck disable=SC2094 # Lock file is not being read from. lock "$source_lock_file" 200 # Create instance directory.