summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-05-11 20:58:20 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-05-11 20:58:20 +0200
commit6646627db068904979e4eaba819e2e0c453c4f4c (patch)
treeb9c921d1468c2b4217a9f6022580f182e0f2674f /x11-apps/radeon-profile-daemon
parentx11-apps/radeon-profile-daemon: init script: wait for the socket creation (diff)
downloadgentoo-6646627db068904979e4eaba819e2e0c453c4f4c.tar.gz
gentoo-6646627db068904979e4eaba819e2e0c453c4f4c.tar.bz2
gentoo-6646627db068904979e4eaba819e2e0c453c4f4c.zip
x11-apps/radeon-profile-daemon: sleep only accepts integers in POSIX mode
Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'x11-apps/radeon-profile-daemon')
-rw-r--r--x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd b/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd
index e67b9843c25d..adbc0195e4b0 100644
--- a/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd
+++ b/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd
@@ -15,7 +15,7 @@ wait_for_socket() {
while [ ${i} -lt 10 ]; do
[ -S "${radeon_socket}" ] && return 0
i=$((${i}+1))
- sleep 1s
+ sleep 1
done
return 1