423c60a login: do not issue wall messages on local terminals for suspend and hibernate

2 files Authored by Christian Göttsche 2 years ago, Committed by zbyszek 2 years ago,
    login: do not issue wall messages on local terminals for suspend and hibernate
    
    Fixes: #23520
    
    [zjs: I added the comment and tweaked the patch a bit.
    
    The call to reset_scheduled_shutdown() is moved down a bit to allow the
    callback to have access to information about the operation being cancelled.
    This all happens within the same function, so there should be no observable
    change in behaviour.]
    
    (cherry picked from commit ea74f39c24344eafc238d1c69155bd5aca5f2e08)
    
        
file modified
+2 -2
file modified
+12 -2