diff options
Diffstat (limited to 'usr.sbin/sade/system.c')
-rw-r--r-- | usr.sbin/sade/system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sade/system.c b/usr.sbin/sade/system.c index 85bb189..354f805 100644 --- a/usr.sbin/sade/system.c +++ b/usr.sbin/sade/system.c @@ -42,7 +42,7 @@ handle_intr(int sig) WINDOW *save = savescr(); if (!msgYesNo("Are you sure you want to abort the installation?")) - systemShutdown(1); + systemShutdown(-1); else restorescr(save); } @@ -115,7 +115,7 @@ void systemShutdown(int status) { /* If some media is open, close it down */ - if (mediaDevice) + if (status >=0 && mediaDevice) mediaDevice->shutdown(mediaDevice); /* Shut down the dialog library */ |