actions: handle 20 return code from whatis

This commit is contained in:
Jay Lee
2023-07-24 13:59:12 -04:00
committed by GitHub
parent 3eea0cea08
commit 31fa445733

View File

@@ -746,7 +746,7 @@ jobs:
$gam user $newuser delete license workspaceenterpriseplus
echo finish
$gam config enable_dasa true save
$gam whatis $newuser noinfo
$gam whatis $newuser || || if [ $? != 20 ]; then exit $?; fi # expect a 20 return code (is a user)
$gam user $gam_user show tokens
$gam config enable_dasa false save
$gam print exports matter $matterid | $gam csv - gam download export $matterid id:~~id~~