aboutsummaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/command.c b/src/helper/command.c
index 035b7dbc..c4edcc7f 100644
--- a/src/helper/command.c
+++ b/src/helper/command.c
@@ -693,7 +693,7 @@ int handle_sleep_command(struct command_context_s *cmd_ctx, char *cmd, char **ar
if (argc == 1)
{
duration = strtoul(args[0], NULL, 0);
- usleep(duration * 1000);
+ alive_sleep(duration);
}
return ERROR_OK;