mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 06:40:32 +00:00
Fix missing then (#5400)
This commit is contained in:
committed by
GitHub
parent
11d669e34b
commit
4f62f8e999
@@ -25,7 +25,7 @@ function kcpasswordEncode {
|
|||||||
#get padding by subtraction if under 11
|
#get padding by subtraction if under 11
|
||||||
local r=$(( ${#thisStringHex_array[@]} % 11 ))
|
local r=$(( ${#thisStringHex_array[@]} % 11 ))
|
||||||
local padding=0
|
local padding=0
|
||||||
if [ ${#thisStringHex_array[@]} -eq 11 ];
|
if [ ${#thisStringHex_array[@]} -eq 11 ]; then
|
||||||
local padding=1
|
local padding=1
|
||||||
elif [ $r -gt 0 ]; then
|
elif [ $r -gt 0 ]; then
|
||||||
local padding=$(( 11 - $r ))
|
local padding=$(( 11 - $r ))
|
||||||
|
|||||||
Reference in New Issue
Block a user