diff options
| author | onefang | 2019-11-26 00:48:25 +1000 |
|---|---|---|
| committer | onefang | 2019-11-26 00:48:25 +1000 |
| commit | 2742cf8a2961a478aaeb4761b3d71e70e56f8417 (patch) | |
| tree | 35491d11ca290d4c01d034635cbba690976021c3 | |
| parent | More curl status codes and messages. (diff) | |
| download | apt-panopticon-2742cf8a2961a478aaeb4761b3d71e70e56f8417.zip apt-panopticon-2742cf8a2961a478aaeb4761b3d71e70e56f8417.tar.gz apt-panopticon-2742cf8a2961a478aaeb4761b3d71e70e56f8417.tar.bz2 apt-panopticon-2742cf8a2961a478aaeb4761b3d71e70e56f8417.tar.xz | |
Make fork() more like execute().
| -rwxr-xr-x | apt-panopticon.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua index ee64c7c..39235c2 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
| @@ -345,7 +345,7 @@ local execute = function (s) | |||
| 345 | end | 345 | end |
| 346 | 346 | ||
| 347 | local fork = function(s) | 347 | local fork = function(s) |
| 348 | D(" executing <code>" .. s .. "</code>") | 348 | D(" forking <pre><code>" .. s .. "</code></pre>") |
| 349 | os.execute(s .. " &") | 349 | os.execute(s .. " &") |
| 350 | end | 350 | end |
| 351 | 351 | ||
