Uploaded image for project: 'CernVM'
  1. CernVM
  2. CVM-2035

Collective cvmfs_server operations should return non-zero on failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • CernVM-FS 2.11
    • None
    • CVMFS
    • None
    • ANY

    Description

      The cvmfs_server gc -a and cvmfs_server check -a return zero even if the operation fails for one or multiple of the repositories.  This should be changed to properly indicate success or failure through the return code.

       

      This has an impact on existing cron jobs, which admins may want to change to cvmfs_server gc -a || true to restore the current behavior.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jblomer Jakob Blomer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: