Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/rdk/Start_MaintenanceTasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ runMaintenanceSWUpdateTask()
{
if [ -f "$SWUPDATE_BIN" ]; then
swupdateLog "Starting software update"
"$SWUPDATE_BIN" 0 1 >> "$SWUPDATE_LOG_FILE" 2>&1 &
' "$SWUPDATE_BIN" 0 1 >> "$SWUPDATE_LOG_FILE" 2>&1 &
sleep 1
cdlpid=$(pidof rdkvfwupgrader)
wait $cdlpid
Expand All @@ -134,9 +134,9 @@ runMaintenanceSWUpdateTask()
result=-1
fi
# Handle both success (0) and acceptable warning (1) exit codes, flag other results as errors
if [ "$result" -ne 0 ] && [ "$result" -ne 1 ]; then
if [ "$result" -ne 0 ] && [ "$result" -ne 1 ]; then'
eventSender "MaintenanceMGR" "$MAINT_FWDOWNLOAD_ERROR"
fi
#fi
}

runMaintenanceLogUploadTask()
Expand Down
Loading