I don't think that typing exit would cause the issue...
Cubic applies custom colors by momentary modifying /root/.bashrc.
The original /root/.bashrc is immediately reinstated once the chroot environment is running.
However, when you manually exit, Cubic restarts the chroot environment, but it doesn't do the "trick" with .bashrc.
Also, if a user modifies the .bashrc file in /root, the user's changes will be always saved and included in the final generated ISO.
I don't think that typing exit would cause the issue...
Cubic applies custom colors by momentary modifying /root/.bashrc.
The original /root/.bashrc is immediately reinstated once the chroot environment is running.
However, when you manually exit, Cubic restarts the chroot environment, but it doesn't do the "trick" with .bashrc.
Also, if a user modifies the .bashrc file in /root, the user's changes will be always saved and included in the final generated ISO.