Giving device detected by -plug_test an extra second to settle

This commit is contained in:
Thomas Schmitt 2019-12-08 21:52:41 +01:00
parent 697c8cc1f9
commit e5d86b3a13
1 changed files with 3 additions and 0 deletions

View File

@ -387,6 +387,9 @@ plug_in_watcher() {
show_reasons=y show_reasons=y
devs=$(echo -n $found_devices) devs=$(echo -n $found_devices)
echo >&2 echo >&2
# Give new device a second to settle
sleep 1
return 0 return 0
} }