Browse Source

remove fd after upgrade script exit

Alfonso Gamboa 3 năm trước cách đây
mục cha
commit
c72140abe6
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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
 }