diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-09-12 23:28:15 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-09-12 23:28:18 +0300 |
commit | 789f0b58d760dcca0f79c786c41821885a0384aa (patch) | |
tree | 489e0f660d203e7177d50bc58f882813459460f3 /bin/ncp | |
parent | 4bd06e6c1344019010e7c66421bef4eba3db78ab (diff) |
nc-datadir: make sure dir exists before checkv1.16.5
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin/ncp')
-rw-r--r-- | bin/ncp/CONFIG/nc-datadir.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ncp/CONFIG/nc-datadir.sh b/bin/ncp/CONFIG/nc-datadir.sh index 667b7d37..11ede598 100644 --- a/bin/ncp/CONFIG/nc-datadir.sh +++ b/bin/ncp/CONFIG/nc-datadir.sh @@ -70,6 +70,7 @@ configure() echo "moving data directory from $SRCDIR to $DATADIR..." # resolve symlinks and use the real path + mkdir -p "$DATADIR" DATADIR=$(cd "$DATADIR" && pwd -P) # use subvolumes, if BTRFS |