mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-19 22:48:01 +02:00
2021-06-02 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in rdselect_helper(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
a82067f7ae
commit
f0a7dc0d5d
@ -21852,3 +21852,5 @@
|
||||
* Cleaned up compile warnings in rddbmgr(8).
|
||||
2021-06-02 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Cleaned up compile warnings in rdrender(1).
|
||||
2021-06-02 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Cleaned up compile warnings in rdselect_helper(1).
|
||||
|
@ -33,7 +33,9 @@
|
||||
MainObject::MainObject(QObject *parent)
|
||||
: QObject(parent)
|
||||
{
|
||||
setuid(geteuid()); // So the SETUID bit works as expected
|
||||
if(setuid(geteuid())!=0) { // So the SETUID bit works as expected
|
||||
fprintf(stderr,"rdselect_helper: setuid error [%s]\n",strerror(errno));
|
||||
}
|
||||
if(getuid()!=0) {
|
||||
fprintf(stderr,
|
||||
"rdselect_helper: this program must be installed SETUID root\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user