From c934a51af80056c4d43d0ecea2f3ca25014a9f3e Mon Sep 17 00:00:00 2001 From: SarenaAWS <6563840+sarenameas@users.noreply.github.com> Date: Thu, 8 Oct 2020 11:17:48 -0700 Subject: [PATCH] Add the demo completed succesfully message to the shadow demo for CI. (#1316) --- demos/shadow/shadow_demo_main/shadow_demo_main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/demos/shadow/shadow_demo_main/shadow_demo_main.c b/demos/shadow/shadow_demo_main/shadow_demo_main.c index 69f6c9c0a9..959ce33e7e 100755 --- a/demos/shadow/shadow_demo_main/shadow_demo_main.c +++ b/demos/shadow/shadow_demo_main/shadow_demo_main.c @@ -657,6 +657,12 @@ int main( int argc, DisconnectMqttSession(); } + if( returnStatus == EXIT_SUCCESS ) + { + /* Log message indicating the demo completed successfully. */ + LogInfo( ( "Demo completed successfully." ) ); + } + return returnStatus; }