From e5d86b3a139957d0b03a37903517424894d78b21 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 8 Dec 2019 21:52:41 +0100 Subject: [PATCH] Giving device detected by -plug_test an extra second to settle --- xorriso-dd-target/xorriso-dd-target | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xorriso-dd-target/xorriso-dd-target b/xorriso-dd-target/xorriso-dd-target index 2d3fe662..3dfb78b0 100755 --- a/xorriso-dd-target/xorriso-dd-target +++ b/xorriso-dd-target/xorriso-dd-target @@ -387,6 +387,9 @@ plug_in_watcher() { show_reasons=y devs=$(echo -n $found_devices) echo >&2 + + # Give new device a second to settle + sleep 1 return 0 }