diff options
author | Manuel Munz <freifunk@somakoma.de> | 2012-04-18 16:49:10 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2012-04-18 16:49:10 +0000 |
commit | e6d5c4d5ae0a71f3e0e15d1e3841d4c4bffcc355 (patch) | |
tree | 20adc04cb39bbcef8b1cce89dba7ea0289a3e192 /applications/luci-transmission | |
parent | ce9cf41fb3626a478ae562cc0ddc75c442588d81 (diff) |
applications/transmission: Fix nil value with trport, #397
Diffstat (limited to 'applications/luci-transmission')
-rw-r--r-- | applications/luci-transmission/luasrc/model/cbi/transmission.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-transmission/luasrc/model/cbi/transmission.lua b/applications/luci-transmission/luasrc/model/cbi/transmission.lua index fa036fb0f..e727a0de3 100644 --- a/applications/luci-transmission/luasrc/model/cbi/transmission.lua +++ b/applications/luci-transmission/luasrc/model/cbi/transmission.lua @@ -17,7 +17,7 @@ require("luci.util") require("luci.model.ipkg") local uci = require "luci.model.uci".cursor() -local trport = uci:get_first("transmission", "transmission", "rpc_port") +local trport = uci:get_first("transmission", "transmission", "rpc_port") or 9091 local running = (luci.sys.call("pidof transmission-daemon > /dev/null") == 0) local webinstalled = luci.model.ipkg.installed("transmission-web") local button = "" |