-
Bug
-
Resolution: Unresolved
-
Minor
-
rhel-10.1
-
None
-
targetcli-2.1.58-5.el10
-
No
-
Low
-
rhel-storage-io-2
-
ssg_platform_storage
-
16
-
18
-
1
-
QE ack, Dev ack
-
False
-
False
-
-
None
-
None
-
Pass
-
Automated
-
Unspecified
-
Unspecified
-
Unspecified
-
-
All
-
None
# targetcli restoreconfig xxx Restore file xxx not found # echo $? 0
An attempt to restore non-existing or unreadable file should return proper error code to be fully usable in scripts. This works as expected when there's a failure with JSON parsing:
# targetcli restoreconfig /etc/fstab Expecting value: line 1 column 1 (char 0) # echo $? 1
targetcli-2.1.58-4.fc42.noarch
targetcli-2.1.57-2.el9.noarch
- clones
-
RHEL-82278 `targetcli restoreconfig` on non-existing file returns 0/success
-
- Integration
-
- links to
-
RHBA-2025:155539
targetcli update