diff options
Diffstat (limited to 'crypto/openssh/mkinstalldirs')
-rwxr-xr-x | crypto/openssh/mkinstalldirs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/openssh/mkinstalldirs b/crypto/openssh/mkinstalldirs index 614ef33..47d5f43 100755 --- a/crypto/openssh/mkinstalldirs +++ b/crypto/openssh/mkinstalldirs @@ -4,7 +4,7 @@ # Created: 1993-05-16 # Public domain -# $Id: mkinstalldirs,v 1.1 2000/05/20 05:33:45 damien Exp $ +# $Id: mkinstalldirs,v 1.2 2003/11/21 12:48:55 djm Exp $ errstatus=0 @@ -22,13 +22,13 @@ do esac if test ! -d "$pathcomp"; then - echo "mkdir $pathcomp" + echo "mkdir $pathcomp" - mkdir "$pathcomp" || lasterr=$? + mkdir "$pathcomp" || lasterr=$? - if test ! -d "$pathcomp"; then - errstatus=$lasterr - fi + if test ! -d "$pathcomp"; then + errstatus=$lasterr + fi fi pathcomp="$pathcomp/" |