minor comment, for systemd (and really all packages) I like to name the patches with the lp bug number, so i changed your patch name to add the lp1911187- prefix.
also another minor comment, as we'd discussed before I made a slight change to the comment in the patch for clarification:
if (arg_when > 0) return logind_schedule_shutdown();
- /* no delay, or logind is not at all available */
+ /* no delay */
if (geteuid() != 0) {
if (arg_dry_run || arg_force > 0) { (void) must_be_root();
minor comment, for systemd (and really all packages) I like to name the patches with the lp bug number, so i changed your patch name to add the lp1911187- prefix.
also another minor comment, as we'd discussed before I made a slight change to the comment in the patch for clarification:
if (arg_when > 0)
return logind_ schedule_ shutdown( );
- /* no delay, or logind is not at all available */
(void) must_be_root();
+ /* no delay */
if (geteuid() != 0) {
if (arg_dry_run || arg_force > 0) {