diff --git a/src/symbols/acme/cert.rs b/src/symbols/acme/cert.rs index c1863f5..6e1e257 100644 --- a/src/symbols/acme/cert.rs +++ b/src/symbols/acme/cert.rs @@ -45,7 +45,6 @@ impl<'a> Symbol for AcmeCert<'a> { return Ok(false); } - // FIXME: check who signed it let stdout = try!(self.command_runner.get_output("openssl", &["x509", "-in", &self.get_cert_path(), "-noout", "-subject", "-checkend", &(30*DAYS_IN_SECONDS).to_string()])); if stdout != format!("subject=CN = {}\nCertificate will not expire\n", self.domain).as_bytes() { return Ok(false); diff --git a/src/symbols/wordpress/translation.rs b/src/symbols/wordpress/translation.rs index baf63c8..6c51bcb 100644 --- a/src/symbols/wordpress/translation.rs +++ b/src/symbols/wordpress/translation.rs @@ -86,7 +86,7 @@ impl<'a, C, D, R> Symbol for WordpressTranslation<'a, C, D, R> where C: Deref Vec { - vec![ Resource::new("dir", Path::new(self.path.as_ref()).join("wp-content/languages").to_string_lossy() ) ] + vec![ Resource::new("dir", self.path.as_ref()) ] } }