From 437422ca60da9904d056059b026a13fe17a3e8bb Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 21 Aug 2017 11:24:39 -0400 Subject: [PATCH] silently make dirs --- scripts/install.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install.ps1 b/scripts/install.ps1 index a7ce2bf34..16c7d321b 100644 --- a/scripts/install.ps1 +++ b/scripts/install.ps1 @@ -3,7 +3,7 @@ param ( ) if(!(Test-Path -Path $outputDir )){ - New-Item -ItemType directory -Path $outputDir + New-Item -ItemType directory -Path $outputDir | Out-Null } docker --version @@ -20,7 +20,7 @@ if($domain -ne "localhost") { $letsEncryptPath = "${outputDir}/letsencrypt/live/${domain}" if(!(Test-Path -Path $letsEncryptPath )){ - New-Item -ItemType directory -Path $letsEncryptPath + New-Item -ItemType directory -Path $letsEncryptPath | Out-Null } docker run -it --rm --name certbot -p 80:80 -v $outputDir/letsencrypt:/etc/letsencrypt/ certbot/certbot ` certonly --standalone --noninteractive --agree-tos --preferred-challenges http --email $email -d $domain