Skip to content

Commit 65de312

Browse files
committed
fix ioc start --rc
1 parent 4a7fccf commit 65de312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iocage/cli/start.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def cli(ctx, rc, jails):
4848
"print_function": ctx.parent.print_events
4949
}
5050

51-
if len(jails) == 0:
51+
if (rc is False) and (len(jails) == 0):
5252
logger.error("No jail selector provided")
5353
exit(1)
5454

0 commit comments

Comments
 (0)