app/proc_info: check for primary process
authorMaryam Tahhan <maryam.tahhan@intel.com>
Wed, 7 Sep 2016 10:37:50 +0000 (11:37 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 23 Sep 2016 18:42:30 +0000 (20:42 +0200)
commitaf2c6fffe6bdea4dd55c5faf731fbaec27275d0b
tree93edf3f94e9030eb1d1755e02617014c5d859070
parentb2fbb98789d4e7311a415052897d98b6850861de
app/proc_info: check for primary process

Add a check to see if the primary process is running and exit gracefully
if it is not.

Suggested-by: Patrick Kutch <patrick.g.kutch@intel.com>
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
app/proc_info/main.c