The mass detaching can take significant amount of time.
The issue is that the message "Detaching..." isn't shown on
the command line when pressing Ctrl-C, because of stdout buffering.
Thus, the end-user can get impatient.
Fix this by flushing stdout after printf "Detaching..." statement.
The mass detaching can take significant amount of time.
The issue is that the message "Detaching..." isn't shown on the command line when pressing Ctrl-C, because of stdout buffering. Thus, the end-user can get impatient.
Fix this by flushing stdout after printf "Detaching..." statement.