mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-26 03:21:06 -04:00
ci: fix new shellcheck v0.9.0 findings (#795)
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
15197dfbd0
commit
0150fcc22c
1 changed files with 3 additions and 2 deletions
|
@ -228,8 +228,9 @@ script as root/with sudo)."
|
|||
# Fill the global variables for the id command for the given disk type
|
||||
# Error messages will be printed closer to error, no need to reprint here
|
||||
identify_pd_disk "${device_path}"
|
||||
if [[ $? -ne 0 ]]; then
|
||||
return $?
|
||||
ret=$?
|
||||
if [[ ${ret} -ne 0 ]]; then
|
||||
return "${ret}"
|
||||
fi
|
||||
|
||||
# Gen symlinks or print out the globals set by the identify command
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue