We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f90b7f5 commit 362fffaCopy full SHA for 362fffa
netns.lua
@@ -111,7 +111,7 @@ if fs.exists(_netnsRunFile) then
111
_exec("ip link delete", _netnsRunConfig.vehId)
112
end
113
fs.remove(_netnsRunFile)
114
- os.exit(0)
+ if _options.remove then os.exit(0) end
115
else
116
_error("Found runtime info about netns '" .. _netnsId .. "'.")
117
_info("Remove existing runtime info or run with '--force' to automatically cleanup.")
0 commit comments