Ver código fonte

remove fd after upgrade script exit

Alfonso Gamboa 3 anos atrás
pai
commit
c72140abe6
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      SD_ROOT/wz_mini/bin/upgrade-run.sh

+ 1 - 0
SD_ROOT/wz_mini/bin/upgrade-run.sh

@@ -50,6 +50,7 @@ echo "Launching latest upgrade-script"
 /opt/wz_mini/bin/upgrade-run.sh backup_begin &
 
 echo "Exit old script"
+rm -f /dev/fd
 exit 0
 }