if (result == success) of /subsystem=elytron/:read-resource echo Removing Elytron subsystem /subsystem=elytron/:remove echo end-if