Adjust to makeDbName returning an absolute path
authorKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 8 Jul 2020 09:18:07 +0000 (11:18 +0200)
committerKevin Ottens <ervin@ipsquad.net>
Wed, 8 Jul 2020 11:09:13 +0000 (13:09 +0200)
commit2492e241ac1b22cfbdbcb97739e9365fba69ac22
tree2f7752a85c75df83ead27900b404700d4970a8a7
parent31bc07417b7e7c217c3035a239912e5e17f6e5b4
Adjust to makeDbName returning an absolute path

PR #1451 changed the behavior of makeDbName which now returns an
absolute path. This obviously then failed in nextcloudcmd which
prepended to it the path to the local folder to sync. We just stop doing
this to have the journal db end up at the right place in that case as
well.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/cmd/cmd.cpp