99ba04b fsck.gfs2: Use atexit() where on_exit() is not available

Authored and Committed by andyp 2 years ago
    fsck.gfs2: Use atexit() where on_exit() is not available
    
    atexit() is standard and on_exit() is not, but atexit() doesn't allow us
    to access the exit status, so use atexit() only where on_exit() is not
    available.
    
    Signed-off-by: Andrew Price <anprice@redhat.com>
    
        
file modified
+1 -0
file modified
+15 -0