summaryrefslogtreecommitdiff
path: root/scripts/nfs
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2019-02-05 00:56:39 +0100
committerBen Hutchings <ben@decadent.org.uk>2019-02-05 02:19:07 +0000
commit28b9d1ddf94282e987da27601723a926ae4acf4c (patch)
tree64b6db5264252af99f524a53375f32a6c308d598 /scripts/nfs
parent49139ca2c372b28c37773154c2fbbf2b3811ad46 (diff)
scripts/nfs: Use "sleep" instead of /bin/sleep
Thee is no reason to avoid using a shell built-in implementation of sleep here, not even the reason we had elsewhere of needing support for fractional seconds. Closes: #677049 Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'scripts/nfs')
-rw-r--r--scripts/nfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nfs b/scripts/nfs
index 4242f31..40c92c7 100644
--- a/scripts/nfs
+++ b/scripts/nfs
@@ -95,7 +95,7 @@ nfs_mount_root()
while [ ${nfs_retry_count} -lt "${delay}" ] \
&& [ $ret -ne 0 ] ; do
[ "$quiet" != "y" ] && log_begin_msg "Retrying nfs mount"
- /bin/sleep 1
+ sleep 1
nfs_mount_root_impl
ret=$?
nfs_retry_count=$(( nfs_retry_count + 1 ))