Fix CID 1114611 Check the right variable
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/885e08d4 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/885e08d4 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/885e08d4 Branch: refs/heads/master Commit: 885e08d47696a237d410ed7e998b92b5b8fae9e2 Parents: 1440a1c Author: Hugo Trippaers <[email protected]> Authored: Thu Jul 24 12:20:34 2014 +0200 Committer: Hugo Trippaers <[email protected]> Committed: Thu Jul 24 12:21:38 2014 +0200 ---------------------------------------------------------------------- .../cloudstack/storage/resource/NfsSecondaryStorageResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/885e08d4/services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java ---------------------------------------------------------------------- diff --git a/services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java b/services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java index 78f4bf1..b536804 100755 --- a/services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java +++ b/services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java @@ -1920,7 +1920,7 @@ public class NfsSecondaryStorageResource extends ServerResourceBase implements S } _configAuthScr = Script.findScript(getDefaultScriptsDir(), "config_auth.sh"); - if (_configSslScr != null) { + if (_configAuthScr != null) { s_logger.info("config_auth.sh found in " + _configAuthScr); }
