From 9e381528154e7eb64ab059f462891cf70311e280 Mon Sep 17 00:00:00 2001 From: Frederick Meisel Date: Fri, 23 Feb 2024 17:26:14 +0100 Subject: [PATCH] fixed more typo --- shortcut.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shortcut.lua b/shortcut.lua index a4eeb19..5751732 100644 --- a/shortcut.lua +++ b/shortcut.lua @@ -11,10 +11,9 @@ if args[1] == "-h" then print(helpText) return elseif args[1] == "update" then - dofile("/usr/PowerManager/updater.lua") + os.execute("/usr/PowerManager/updater.lua -a") return else print('"'..args[1]..'" - Bad argument. you can use: powerman update') - print(helpText) return end \ No newline at end of file