← Back to davo.co
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Faulkner <[email protected]>2026-08-06 19:38:26 -0500
committerDavid Faulkner <[email protected]>2026-08-06 19:38:26 -0500
commitb5aca4db048e251fb17590c1e13f4cc4e53a529c (patch)
treeaa057dbc5fac9acdbb054c7f426b07c449c9af0a
parent1872df0021ea5a8c14bdbb981a4eba46e6ecfbd7 (diff)
refactor(apt): remove redundant APT_OPT flags from full-upgrade
- Scope APT_OPT flags exclusively to index updating via apt update - Remove APT_OPT from apt full-upgrade string format call - Rely on default APT queue management and HTTPS transport during package downloads
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index c23ff04..9ee5384 100644
--- a/main.c
+++ b/main.c
@@ -136,7 +136,7 @@ int main(void) {
if (bytes > 0 && (size_t)bytes < sizeof(msg)) {
char cmd[MAX_CMD_LEN];
- snprintf(cmd, sizeof(cmd), "sudo apt " APT_OPT " full-upgrade -y");
+ snprintf(cmd, sizeof(cmd), "sudo apt full-upgrade -y");
run_task(msg, cmd);
}
}