]> git.droids-corp.org - aversive.git/blobdiff - modules/base/hostsim/hostsim.c
return 0 on exit
[aversive.git] / modules / base / hostsim / hostsim.c
index bb77ad9e3f894444ac0a991dac52037ec057a33d..4c6ec3ac0db5255c3b842d8f45a889df51e62956 100644 (file)
@@ -314,6 +314,7 @@ int hostsim_exit(void)
 #ifdef CONFIG_MODULE_UART
        tcsetattr(0, TCSANOW, &oldterm);
 #endif
 #ifdef CONFIG_MODULE_UART
        tcsetattr(0, TCSANOW, &oldterm);
 #endif
+       exit(0);
        return 0;
 }
 #endif /* HOST_VERSION */
        return 0;
 }
 #endif /* HOST_VERSION */