diff --git a/hudson-sflphone-script.sh b/hudson-sflphone-script.sh
index 0090a8d8b71bc8d6a6d09e61de951868d566fe81..44037eb3736aeb6cbbbd66720a09cfebf868d0fa 100755
--- a/hudson-sflphone-script.sh
+++ b/hudson-sflphone-script.sh
@@ -128,8 +128,14 @@ function build_daemon {
 
 function build_gnome {
     pushd daemon
-    killall sflphoned
-    make distclean
+    # Check if program is running
+    if [ "$(pidof sflphoned)"]
+    then
+      killall sflphoned
+    else
+      echo "sflphoned not running"
+    fi
+    #make distclean
 
     # Compile pjproject first
     pushd libs