Called finish, not down
This commit is contained in:
parent
70a4d99fe9
commit
2848afb276
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ exec ]]..netns_string..[[chpst -u "$USER:$GROUP" podman run --tty --rm \
|
|||
]]..utils.join_table(arguments, " ")..[[ \
|
||||
"$IMAGE" 2>/dev/stdout
|
||||
]]
|
||||
local down_script = prefix..[[
|
||||
local finish_script = prefix..[[
|
||||
|
||||
chpst -u "$USER:$GROUP" podman stop --ignore "$CONTAINER_NAME" 2>/dev/stdout || exit $?
|
||||
chpst -u "$USER:$GROUP" podman rm --force --ignore "$CONTAINER_NAME" 2>/dev/stdout || exit $?
|
||||
|
@ -84,4 +84,4 @@ local function write_script(file_name, content)
|
|||
end
|
||||
|
||||
write_script("run", run_script)
|
||||
write_script("down", down_script)
|
||||
write_script("finish", finish_script)
|
||||
|
|
Loading…
Reference in a new issue