Skip to content

Sleep problem #10

Description

@GoogleCodeExporter
Hi, thanks for your useful script !
However I noticed an error concerning the sleep usage.
When gmailchecker is launched via a terminal, an error is displayed saying :
"sleep: intervalle de temps « 120,000000 » incorrect
Saisissez « sleep --help » pour plus d'informations."

Unfortunately, I'm french, so I'll describe you the error displayed above. It's 
telling us that "sleep" isn't well used.

So, I decided to look inside your script and I think it's a yad-relative 
problem. In fact, the INTERVAL variable contains the value 120,000000 so 
"sleep" can't understand it, you ought to set it to 120.000000 instead.

I solved this problem by replacing the last line of your script :
sleep ${INTERVAL:=300} to
sleep ${INTERVAL//,/.}

I don't understand the :=300, but I'm sure you'll find a way to set it back ;)

Original issue reported on code.google.com by boitut...@gmail.com on 2 Jan 2014 at 5:47

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions