From 6fa2ceb72724f1534c0830449e4d194533641367 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 10 Aug 2016 15:50:51 +0000 Subject: Remove trailing whitespace --- openssh-model.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'openssh-model.lua') diff --git a/openssh-model.lua b/openssh-model.lua index a24d952..acd89fd 100644 --- a/openssh-model.lua +++ b/openssh-model.lua @@ -46,11 +46,11 @@ end -- ################################################################################ -- PUBLIC FUNCTIONS -function mymodule.get_startstop(self, clientdata) +function mymodule.get_startstop(self, clientdata) return modelfunctions.get_startstop(processname) end -function mymodule.startstop_service(self, startstop, action) +function mymodule.startstop_service(self, startstop, action) return modelfunctions.startstop_service(startstop, action) end @@ -75,7 +75,7 @@ function mymodule.read_config() output.UseDNS = cfe({ type="boolean", value=false, label="Use DNS", seq=5 }) local config = format.parse_configfile(fs.read_file(configfile) or "") - if config then + if config then output.Port.value = config.Port or output.Port.value output.ListenAddress.value = config.ListenAddress or output.ListenAddress.value output.PermitRootLogin.value = config.PermitRootLogin or output.PermitRootLogin.value -- cgit v1.2.3