You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do a dry run of zsysctl remove state -s on the selected state and note the actions to be performed.
$ sudo zsysctl state remove -s -v --dry-run autozsys_hlarab
INFO Requesting to remove system state "autozsys_hlarab"
Deleting state rpool/USERDATA/claudio_secsbv@autozsys_hlarab
Deleting state rpool/USERDATA/root_secsbv@autozsys_hlarab
Deleting state rpool/ROOT/ubuntu_u4zsnf@autozsys_hlarab
Execute the command without --dry-run:
$ sudo zsysctl state remove -s -v autozsys_hlarab
INFO Requesting to remove system state "autozsys_hlarab"
ZSys is adding automatic system snapshot to GRUB menu
Expected behavior
Dry run output should match the actual actions performed (by either deleting user state when using -s, or by not listing user state removal actions in the dry run output and adjusting the state remove command help message).
Describe the bug
Output of
zsysctl state remove -s --dry-run
lists actions that are not performed in the command execution.To Reproduce
Steps to reproduce the behavior:
zsysctl remove state -s
on the selected state and note the actions to be performed.--dry-run
:Expected behavior
Dry run output should match the actual actions performed (by either deleting user state when using
-s
, or by not listing user state removal actions in the dry run output and adjusting the state remove command help message).Installed versions:
zsysctl 0.5.8build1
zsysd 0.5.8build1
Additional context
User states are correctly removed if not using
-s
.The text was updated successfully, but these errors were encountered: