mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-07-01 10:50:34 +00:00
discard expected ls errors
This commit is contained in:
@ -2216,7 +2216,7 @@ install_game_wine() {
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$(ls -A "$install_dir")" ]; then
|
||||
if [ "$(ls -A "$install_dir" 2>/dev/null)" ]; then
|
||||
# The directory is not empty, ask the user if they want to continue
|
||||
if ! message options "Cancel" "Continue" "The install directory is not empty!\n\nRe-using an existing wine prefix may result in unexpected behavior!\n\n$install_dir"; then
|
||||
return 1
|
||||
|
Reference in New Issue
Block a user