#! /usr/bin/env bash
#
# rmdir <dir>

if [ -d $1 ]; then
   rm -rf $1 
   echo $?
else
   echo 0
fi   

echo ~~~
