You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.
I was experiencing some issues with archey hanging for approx 10 seconds. I added set -x to the start of the script to see where the problem was, and this line was the cause.
Actually the df command was the problem - I have a SSHFS mount point that had 'gone away': this causes df to timeout after 10 seconds.
Clearly I could unmount it and the problem goes away, but maybe adding a / argument to the df command would make it a bit more robust, and then there's no need for the head -2 either.
Hi,
I was experiencing some issues with archey hanging for approx 10 seconds. I added
set -x
to the start of the script to see where the problem was, and this line was the cause.Actually the
df
command was the problem - I have a SSHFS mount point that had 'gone away': this causesdf
to timeout after 10 seconds.Clearly I could unmount it and the problem goes away, but maybe adding a
/
argument to thedf
command would make it a bit more robust, and then there's no need for thehead -2
either.e.g.
Happy to provide a PR if that suits?
The text was updated successfully, but these errors were encountered: