From 04ff8b9d8158a22a3423c0882d3b68b6d9fb4f19 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 21 Nov 2023 13:45:18 -0500 Subject: [PATCH] Update main.c typo --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index d413c6d1..6b0bc6f1 100644 --- a/main.c +++ b/main.c @@ -2319,7 +2319,7 @@ if (setting == ON) { command = popen("if ! grep -q force_turbo=1 /boot/config.txt ; then sudo sh -c 'echo force_turbo=1 >> /boot/config.txt'; fi", "r"); pclose(command); // command = popen("sudo reboot now", "r"); - command = popen("sudo systemctl restart cubesatsim, "r"); + command = popen("sudo systemctl restart cubesatsim", "r"); pclose(command); sleep(60); return; @@ -2335,7 +2335,7 @@ if (setting == ON) { command = popen("sudo sed -i ':a;N;$!ba;s/\'$'\n''force_turbo=1//g' /boot/config.txt", "r"); pclose(command); // command = popen("sudo reboot now", "r"); - command = popen("sudo systemctl restart cubesatsim, "r"); + command = popen("sudo systemctl restart cubesatsim", "r"); pclose(command); sleep(60); return;