summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-04-12 07:07:19 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-04-12 07:07:19 +0000
commitab021891560da8ae4ec193c5bcbb6a4a7f575531 (patch)
tree81a6b1acb873c766c820dbc7ac3190314971fc89
parenta0000a5c40ab2260f4ee04f335524cdd8b43c09d (diff)
parenta96a469bd88820dd7b4c2a8690dd6765cc793be3 (diff)
downloadextras-ab021891560da8ae4ec193c5bcbb6a4a7f575531.tar.gz
Snap for 6388478 from a96a469bd88820dd7b4c2a8690dd6765cc793be3 to mainline-release
Change-Id: I947eeb52c7824a451f139b6b9a36206a5e64f9ed
-rw-r--r--checkpoint_gc/checkpoint_gc.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/checkpoint_gc/checkpoint_gc.sh b/checkpoint_gc/checkpoint_gc.sh
index 682c8499..beaedcbc 100644
--- a/checkpoint_gc/checkpoint_gc.sh
+++ b/checkpoint_gc/checkpoint_gc.sh
@@ -31,7 +31,8 @@ MAX_TIME=3600
NAME=`while read dev dir type opt; do
if [ /data = ${dir} -a f2fs = ${type} ]; then
- echo ${dev##*/}
+ real_dev=$(realpath $dev)
+ echo ${real_dev##*/}
break
fi
done < /proc/mounts`