Unverified Commit 98b175f4 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

nixos/nextcloud: fix shellcheck after #367433

parent ce4d8c59
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