GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    ARGVMI~1.PIF (argv_minus_one@mastodon.sdf.org)'s status on Friday, 07-Nov-2025 12:28:36 JSTARGVMI~1.PIFARGVMI~1.PIF

    When I run `sqlite3 -bail path/to/database .dump` if there is an error, the exit code is still zero.

    I'm running this as part of a backup script, so if the dump doesn't work for whatever reason, I do need it to set a non-zero exit code!

    Anybody have any idea how to make it do that? Or perhaps a different program for dumping SQLite databases?

    #SQLite #programming #DBA #sysadmin #backup

    In conversationabout 5 months ago from mastodon.sdf.orgpermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.