about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-02-10 20:39:56 +0000
committerEric Wong <normalperson@yhbt.net>2013-02-11 00:21:27 +0000
commit975a329912818b49f04de15349f6414719430808 (patch)
treed847a75ec91247ed894c557829a3db213e7f2972
parent2163a4c6f09a9813a0e69a9533923623d448dce9 (diff)
downloadcmogstored-975a329912818b49f04de15349f6414719430808.tar.gz
The child disables interrupts right away, so there's no
reason to enable interrupts temporarily.
-rw-r--r--upgrade.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/upgrade.c b/upgrade.c
index 6935b53..1c69dee 100644
--- a/upgrade.c
+++ b/upgrade.c
@@ -130,7 +130,6 @@ pid_t mog_upgrade_spawn(void)
         if (pid == 0) {
                 start.envp[0] = dst;
                 mog_svc_upgrade_prepare();
-                mog_intr_enable();
                 execve(execfile, start.argv, start.envp);
                 die_errno("execve %s", execfile);
         } else if (pid > 0) {