From c72140abe6650e3ba1a23465e9b4b75438b87897 Mon Sep 17 00:00:00 2001 From: Alfonso Gamboa Date: Sat, 18 Jun 2022 05:56:02 -0700 Subject: [PATCH] remove fd after upgrade script exit --- SD_ROOT/wz_mini/bin/upgrade-run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/SD_ROOT/wz_mini/bin/upgrade-run.sh b/SD_ROOT/wz_mini/bin/upgrade-run.sh index 5c4b237..297af25 100755 --- a/SD_ROOT/wz_mini/bin/upgrade-run.sh +++ b/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 }