Add support for thinjail to thickjail conversion, minor code fixes

This commit is contained in:
Jose
2020-01-16 15:03:05 -04:00
parent 19a838921f
commit 39b3c25bb5
3 changed files with 175 additions and 6 deletions

View File

@@ -29,8 +29,8 @@ restart_cmd="bastille_stop && bastille_start"
bastille_start()
{
if [ ! -n "${bastille_list}" ]; then
echo "${bastille_list} is undefined"
if [ -z "${bastille_list}" ]; then
echo "bastille_list is undefined"
return 1
fi
@@ -44,8 +44,8 @@ bastille_start()
bastille_stop()
{
if [ ! -n "${bastille_list}" ]; then
echo "${bastille_list} is undefined"
if [ -z "${bastille_list}" ]; then
echo "bastille_list is undefined"
return 1
fi