Mageia Bugzilla – Attachment 700 Details for
Bug 2352
error dialog box when starting wireshark as root
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch to stop "dofile" error message when running as root
init.lua.patch (text/plain), 325 bytes, created by
Dave Hodgins
on 2011-08-01 03:14:43 CEST
(
hide
)
Description:
Patch to stop "dofile" error message when running as root
Filename:
MIME Type:
Creator:
Dave Hodgins
Created:
2011-08-01 03:14:43 CEST
Size:
325 bytes
patch
obsolete
>--- /usr/share/wireshark/init.lua.original 2011-04-27 07:55:54.000000000 -0400 >+++ /usr/share/wireshark/init.lua 2011-07-31 21:08:29.388591219 -0400 >@@ -276,5 +276,9 @@ > DATA_DIR = datafile_path() > USER_DIR = persconffile_path() > >+if running_superuser then >+ return >+end >+ > dofile("console.lua") > --dofile("dtd_gen.lua")
--- /usr/share/wireshark/init.lua.original 2011-04-27 07:55:54.000000000 -0400 +++ /usr/share/wireshark/init.lua 2011-07-31 21:08:29.388591219 -0400 @@ -276,5 +276,9 @@ DATA_DIR = datafile_path() USER_DIR = persconffile_path() +if running_superuser then + return +end + dofile("console.lua") --dofile("dtd_gen.lua")
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2352
: 700