Unverified Commit 6fe52c5d authored by Maximilian Bosch's avatar Maximilian Bosch Committed by GitHub
Browse files

Merge: nixos/nextcloud: fix shellcheck after #367433 (#387913)

parents 26d938c4 98b175f4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1040,12 +1040,12 @@ in {
          restartTriggers = [ overrideConfig ];
          script = ''
            ${optionalString (c.dbpassFile != null) ''
              if [ -z "$(<$CREDENTIALS_DIRECTORY/dbpass)" ]; then
              if [ -z "$(<"$CREDENTIALS_DIRECTORY/dbpass")" ]; then
                echo "dbpassFile ${c.dbpassFile} is empty!"
                exit 1
              fi
            ''}
            if [ -z "$(<$CREDENTIALS_DIRECTORY/adminpass)" ]; then
            if [ -z "$(<"$CREDENTIALS_DIRECTORY/adminpass")" ]; then
              echo "adminpassFile ${c.adminpassFile} is empty!"
              exit 1
            fi