summaryrefslogtreecommitdiffstats
path: root/tools/schedsim/shell/shared/main_tasksuspend.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/schedsim/shell/shared/main_tasksuspend.c')
-rw-r--r--tools/schedsim/shell/shared/main_tasksuspend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/schedsim/shell/shared/main_tasksuspend.c b/tools/schedsim/shell/shared/main_tasksuspend.c
index f07ebbeb98..16496394b2 100644
--- a/tools/schedsim/shell/shared/main_tasksuspend.c
+++ b/tools/schedsim/shell/shared/main_tasksuspend.c
@@ -31,6 +31,8 @@ int rtems_shell_main_task_suspend(
rtems_id id;
rtems_status_code status;
+ CHECK_RTEMS_IS_UP();
+
if (argc != 2) {
fprintf( stderr, "%s: Usage [name|id]\n", argv[0] );
return -1;