diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2020-04-11 23:17:25 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-04-11 23:17:25 +0000 |
commit | d331670e134d41a6bde0db1312d5a3830399e059 (patch) | |
tree | 81a6b1acb873c766c820dbc7ac3190314971fc89 | |
parent | b60a09d3a13f6b37f5d71d0af7d0ac6959c0c214 (diff) | |
parent | ae7f2edaf436bea92503667958e29d6349904a5b (diff) | |
download | extras-d331670e134d41a6bde0db1312d5a3830399e059.tar.gz |
Snap for 6388139 from ae7f2edaf436bea92503667958e29d6349904a5b to rvc-release
Change-Id: I2842a65c2d592dcea3d23c72f6d8fc96b9fcb6e7
-rw-r--r-- | checkpoint_gc/checkpoint_gc.sh | 3 |
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` |