diff --git a/hoodselector/files/usr/sbin/hoodselector b/hoodselector/files/usr/sbin/hoodselector
index 7b0f87a76fa1af8d6a9bdf7f2541d7741e07933e..a6e5af95c13e4e86a144cade86b354f06afb843d 100755
--- a/hoodselector/files/usr/sbin/hoodselector
+++ b/hoodselector/files/usr/sbin/hoodselector
@@ -55,14 +55,14 @@ local function readHoodfile(file)
 end
 
 -- Program terminating function including removing of PID file
-local function exit()                                                                 
-  if io.open(pidPath, "r") ~=nil then                                           
-    os.remove(pidPath)                                                          
-  end                                                                           
-  os.exit(0)                                                                    
+local function exit()
+  if io.open(pidPath, "r") ~=nil then
+    os.remove(pidPath)
+  end
+  os.exit(0)
 end
 
--- Return a wifi device list                                                    
+-- Return a wifi device list
 local function getWifiDevices()
   local radios = {}
   uci:foreach('wireless', 'wifi-device',