File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737case " ${detach_pre_sleep_seconds} " in
3838 ' ' |* [!0-9]* ) detach_pre_sleep_seconds=8 ;;
3939esac
40- if [ " ${detach_pre_sleep_seconds} " -lt 0 ] 2> /dev/null; then
41- detach_pre_sleep_seconds=0
42- elif [ " ${detach_pre_sleep_seconds} " -gt 120 ] 2> /dev/null; then
40+ if [ " ${detach_pre_sleep_seconds} " -gt 120 ] 2> /dev/null; then
4341 detach_pre_sleep_seconds=120
4442fi
4543
@@ -141,10 +139,6 @@ select_canonicalize_tool() {
141139select_canonicalize_tool
142140
143141select_lsof_timeout_tool () {
144- if command -v python3 > /dev/null 2>&1 ; then
145- lsof_timeout_tool=" python3"
146- return
147- fi
148142 if command -v gtimeout > /dev/null 2>&1 ; then
149143 lsof_timeout_tool=" gtimeout"
150144 return
@@ -153,6 +147,10 @@ select_lsof_timeout_tool() {
153147 lsof_timeout_tool=" timeout"
154148 return
155149 fi
150+ if command -v python3 > /dev/null 2>&1 ; then
151+ lsof_timeout_tool=" python3"
152+ return
153+ fi
156154 lsof_timeout_tool=" "
157155}
158156
You can’t perform that action at this time.
0 commit comments