From 914ca2b9b08ab0c992a431bfa631b16a19bf8fa6 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 3 Jul 2024 11:04:56 -0400 Subject: [PATCH] Update main.c missing ; --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index e7879034..5b3b85c5 100644 --- a/main.c +++ b/main.c @@ -2147,7 +2147,7 @@ if (setting == ON) { fprintf(stderr,"Turning Battery saver mode ON\n"); if ((mode == AFSK) || (mode == SSTV) || (mode == CW)) { command = popen("echo 'reboot due to turning ON Safe Mode!' | wall", "r"); - pclose(command) + pclose(command); command = popen("sudo reboot now", "r"); pclose(command); sleep(60); @@ -2163,7 +2163,7 @@ if (setting == ON) { fprintf(stderr,"Turning Battery saver mode OFF\n"); if ((mode == AFSK) || (mode == SSTV) || (mode == CW)) { command = popen("echo 'reboot due to turning OFF Safe Mode!' | wall", "r"); - pclose(command) + pclose(command); command = popen("sudo reboot now", "r"); pclose(command); sleep(60);