Open
Description
I want to start podman machine from script and when script exits with error I want that machine to stay, but now it gets stopped.
How to reproduce:
- create script:
#!/bin/bash
podman machine start
echo "sleeping"
sleep 100
- press ctrl+c after "sleeping" is displayed
- machine is stopped
When there is no interruption and script exits without error then machine stays running.
I'm working on macOS but the same is under Linux.
I've already tried nohup and trap.