summaryrefslogtreecommitdiffstats
path: root/db-functions
diff options
context:
space:
mode:
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions3
1 files changed, 3 insertions, 0 deletions
diff --git a/db-functions b/db-functions
index 8111c6d..6d84d31 100644
--- a/db-functions
+++ b/db-functions
@@ -40,6 +40,9 @@ repo_lock () { #repo_lock repo-name arch
exit 1
else
/bin/touch "$LOCKFILE"
+ if [ ! -f "$LOCKFILE" ]; then
+ echo "error: could not create repo lock... something went wrong!"
+ fi
set_umask
fi
}