<table><tr><td style="">mwolff created this revision.<br />mwolff added reviewers: dfaure, mpyne.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.<br />mwolff requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9888" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>I quite frankly don't understand how this code can ever work. My<br />
system kdesu works fine, but a self-compiled one does not have either<br />
<u>PATH_SU nor </u>PATH_SUDO defined. Thus kdesu always starts<br />
/usr/bin/false which of course will always fail. You just get the<br />
super unhelpful "Su returned with an error" dialog shown...</p>

<p>This patch only uses the two macros mentioned above when they are<br />
defined. If not, we try to launch su/sudo bei their name. This<br />
makes the code work for me.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R299 KDESu</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9888" rel="noreferrer">https://phabricator.kde.org/D9888</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/suprocess.cpp</div></div></div><br /><div><strong>To: </strong>mwolff, dfaure, mpyne<br /><strong>Cc: </strong>Frameworks<br /></div>