about summary refs log tree commit diff
path: root/tools/depot-scanner/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depot-scanner/main.go')
-rw-r--r--tools/depot-scanner/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depot-scanner/main.go b/tools/depot-scanner/main.go
index 273190258958..4128fce187f0 100644
--- a/tools/depot-scanner/main.go
+++ b/tools/depot-scanner/main.go
@@ -165,7 +165,7 @@ func main() {
 	if *modeFlag == "print" {
 		if enabledPathTypes[pb.PathType_STORE] {
 			for k, _ := range results[nixStorePath] {
-				if *relativePath {
+				if *relativeFlag {
 					k = strings.TrimPrefix(k, *nixStoreRoot)
 					k = strings.TrimPrefix(k, "/")
 				}