Written by #xxaxxelxxFebruary 21, 2014November 9, 2016 shell | sqlite | kick ‘database is locked’s ass function do_sql() { STATEMENT="$1" while true; do $SQLITE $DB "$STATEMENT" 2>/dev/null && break done } Share this:TwitterFacebookLike this:Like Loading... Related Leave a Reply Cancel reply Enter your comment here... Please log in using one of these methods to post your comment: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. ( Log Out / Change ) You are commenting using your Twitter account. ( Log Out / Change ) You are commenting using your Facebook account. ( Log Out / Change ) Cancel Connecting to %s Notify me of new comments via email. Notify me of new posts via email. Δ This site uses Akismet to reduce spam. Learn how your comment data is processed.