Skip to content

Commit 4a0551a

Browse files
committed
fix catfs invocation
fixes #82
1 parent ad30406 commit 4a0551a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/flags.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ func PopulateFlags(c *cli.Context) (ret *FlagStorage) {
410410
flags.MountPoint = flags.MountPointCreated
411411
}
412412

413-
cacheArgs = append(cacheArgs, "--test")
413+
cacheArgs = append([]string{"--test"}, cacheArgs...)
414414

415415
if flags.MountPointArg == flags.MountPoint {
416416
cacheArgs = append(cacheArgs, "-ononempty")
@@ -421,7 +421,7 @@ func PopulateFlags(c *cli.Context) (ret *FlagStorage) {
421421
cacheArgs = append(cacheArgs, cacheDir)
422422
cacheArgs = append(cacheArgs, flags.MountPointArg)
423423

424-
fuseLog.Debugln("catfs", cacheArgs)
424+
fuseLog.Debugf("catfs %v", cacheArgs)
425425
catfs := exec.Command("catfs", cacheArgs...)
426426
_, err = catfs.Output()
427427
if err != nil {

0 commit comments

Comments
 (0)