Missing -g flag before set-remain-on-exit directive.