Fix pkill call (arguments order mismatch) 67/35967/1 accepted/tizen/3.0.2014.q4/common/20150226.182649 accepted/tizen/common/20150226.182612 submit/tizen_3.0.2014.q4_common/20150226.182535 submit/tizen_common/20150226.182511
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>
Thu, 26 Feb 2015 18:22:16 +0000 (19:22 +0100)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Thu, 26 Feb 2015 18:22:16 +0000 (19:22 +0100)
The given pkill call doesn't work with older procps packages.

Change-Id: Iec11c6ec52e42f4ce74efcc90d2af266737254fe
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
install_widgets.sh

index a2f0c0fef732bbafefba7dd3c3f17c29d350d704..d5e8801281b760f87ca5cfe9d07362d91b606cb6 100755 (executable)
@@ -32,7 +32,7 @@ function do_install() {
                info "$nbinstall applications installed" 
                if [ $nbinstall -gt 0 ]; then
                        info "sending restart signal to tz-launcher"
-                       pkill -U $UID -USR1 tz-launcher
+                       pkill -USR1 -U $UID tz-launcher
                fi
        else
           info "$wgtdir doesn't contains any widgets (.wgt)"