diff --git a/create.cgi b/create.cgi index 587a520..81596a3 100755 --- a/create.cgi +++ b/create.cgi @@ -81,7 +81,7 @@ else fi -cd $oldpwd; ./users.sh > users.shtml - -# Clean up in case it went wrong (trying to retrieve from an account with protected tweets) +# Clean up in case it went wrong (e.g. trying to retrieve from an account with protected tweets) test -s $oldpwd/u/$id/$id.txt || rm -rf $oldpwd/u/$id + +cd $oldpwd; ./users.sh > users.shtml