File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1983,16 +1983,16 @@ def _clear_resource_limits(self) -> typing.List[str]:
1983
1983
return [f"/usr/bin/rctl -r jail:{ self .identifier } 2>/dev/null || true" ]
1984
1984
1985
1985
@property
1986
- def _allow_mount (self ) -> str :
1987
- if self ._allow_mount_zfs == "1" :
1988
- return "1"
1989
- return self ._get_value ("allow_mount" )
1986
+ def _allow_mount (self ) -> int :
1987
+ if self ._allow_mount_zfs == 1 :
1988
+ return 1
1989
+ return int ( self ._get_value ("allow_mount" ) )
1990
1990
1991
1991
@property
1992
- def _allow_mount_zfs (self ) -> str :
1992
+ def _allow_mount_zfs (self ) -> int :
1993
1993
if self .config ["jail_zfs" ] is True :
1994
- return "1"
1995
- return self ._get_value ("allow_mount_zfs" )
1994
+ return 1
1995
+ return int ( self ._get_value ("allow_mount_zfs" ) )
1996
1996
1997
1997
def _configure_routes_commands (self ) -> typing .List [str ]:
1998
1998
You can’t perform that action at this time.
0 commit comments