Vova Tkach 6 years ago
parent
commit
7d0eb029f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      run.sh

+ 1 - 1
run.sh

@@ -227,8 +227,8 @@ update() {
 	echo "Updating..."
 	log_str "0" "Updating..."
 
+	$UTIL_CP -f "$0" "$SETT_DAEMON_PATH/xyzcopy.sh"
 	if [ "$SETT_DAEMON_STATUS" = "1" ]; then
-		$UTIL_CP -f "$0" "$SETT_DAEMON_PATH/xyzcopy.sh"
 		$0 stop
 	fi