diff options
author | onefang | 2019-12-24 15:01:16 +1000 |
---|---|---|
committer | onefang | 2019-12-24 15:01:16 +1000 |
commit | f90cd479ca3144f3c4c9e269e16d18b356c3c509 (patch) | |
tree | 33f484ee91c23e780f52282f4242ce4a0cba638f | |
parent | 0 speed is 0 speed. (diff) | |
download | apt-panopticon-f90cd479ca3144f3c4c9e269e16d18b356c3c509.zip apt-panopticon-f90cd479ca3144f3c4c9e269e16d18b356c3c509.tar.gz apt-panopticon-f90cd479ca3144f3c4c9e269e16d18b356c3c509.tar.bz2 apt-panopticon-f90cd479ca3144f3c4c9e269e16d18b356c3c509.tar.xz |
Pass -k through to forked stuff.
And comment that -o isn't passed.
-rw-r--r-- | apt-panopticommon.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index 4cabb5d..eab901e 100644 --- a/apt-panopticommon.lua +++ b/apt-panopticommon.lua | |||
@@ -118,8 +118,10 @@ APT.parseArgs = function(args) | |||
118 | sendArgs = sendArgs .. a .. " " | 118 | sendArgs = sendArgs .. a .. " " |
119 | elseif "-k" == a then | 119 | elseif "-k" == a then |
120 | APT.keep = true | 120 | APT.keep = true |
121 | sendArgs = sendArgs .. a .. " " | ||
121 | elseif "-o" == a then | 122 | elseif "-o" == a then |
122 | APT.origin = true | 123 | APT.origin = true |
124 | -- Not adding to sendArgs. | ||
123 | elseif "--" == a:sub(1, 2) then | 125 | elseif "--" == a:sub(1, 2) then |
124 | local s, e = a:find("=") | 126 | local s, e = a:find("=") |
125 | if nil == s then e = -1 end | 127 | if nil == s then e = -1 end |