summaryrefslogtreecommitdiffstats
path: root/loader/init.h
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2009-08-04 11:50:47 -0400
committerPeter Jones <pjones@redhat.com>2009-08-04 11:52:52 -0400
commit81cc86e56a897fc3778e1ee806600bfce2af4311 (patch)
tree759a6ff9b9401cad42180498d0c00296f1d3d30a /loader/init.h
parent1ee4b82d95023a03d94df23769c425312d12c276 (diff)
downloadanaconda-81cc86e56a897fc3778e1ee806600bfce2af4311.tar.gz
anaconda-81cc86e56a897fc3778e1ee806600bfce2af4311.tar.xz
anaconda-81cc86e56a897fc3778e1ee806600bfce2af4311.zip
Fix ctrl-alt-deleter behavior /before/ end of install.
The new reboot code didn't take into account the fact that there's a different sigint handler while anaconda is running vs when we're done installing. This patch fixes that bad assumption.
Diffstat (limited to 'loader/init.h')
-rw-r--r--loader/init.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/init.h b/loader/init.h
index 733bc8e68..413c8ba3c 100644
--- a/loader/init.h
+++ b/loader/init.h
@@ -25,4 +25,6 @@ typedef enum {
HALT
} reboot_action;
+extern int shouldReboot;
+
#endif /* INIT_H */