Pārlūkot izejas kodu

Update First Then Do SystemD Checks

own3mall 7 gadi atpakaļ
vecāks
revīzija
3d1ecb26d3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      ogp_agent_run

+ 1 - 1
ogp_agent_run

@@ -295,8 +295,8 @@ update() {
 	
 run() {
 	getSudoPassword
-	detectSystemD
 	update
+	detectSystemD
 	if test -n "$RESTART" ; then
 		echo "Agent will auto-restart if there is a crash."
 		#loop forever