script: Launch script with correct action if last script call is terminated
authorHans Dedecker <hans.dedecker@technicolor.com>
Tue, 26 Jan 2016 08:20:33 +0000 (09:20 +0100)
committerHans Dedecker <hans.dedecker@technicolor.com>
Tue, 26 Jan 2016 09:43:35 +0000 (10:43 +0100)
commite23f12f59182bec966c79c65dec034b8084ff8db
treea73a6dd703e80e0bdfa8cc239e445c60dde92aa3
parentdc186d6d2b0dd4ad23ca5fc69c00e81f796ff6d9
script: Launch script with correct action if last script call is terminated

Actions launched as resume will be used in a next script_call
if the new action is not marked as resume even when the previous
script run was already terminated.
This behavior is particular visible when a RA is received as
the script will run with action bound and not ra-updated
resulting into a wan6 interface down/up transition
src/script.c