浏览代码

remove fd after upgrade script exit

Alfonso Gamboa 3 年之前
父节点
当前提交
33fef73458
共有 1 个文件被更改,包括 1 次插入0 次删除
  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
 }