commit | af9c27c50c0a5c98893b3d104799fc8e5dd3f501 | [log] [tgz] |
---|---|---|
author | Zheng-Jie Chang <zjchang@chromium.org> | Thu May 06 13:31:34 2021 +0800 |
committer | Commit Bot <commit-bot@chromium.org> | Thu May 06 06:45:32 2021 +0000 |
tree | 171d11d13267c3ef82619abfe2c5ea3662492ba5 | |
parent | 673527e91f1903e64a9f0e63d0a46429e550bf5e [diff] |
bisect-kit: handle symbolic link case when removing session BUG=b:183686737 TEST=manually Change-Id: I891ec71f927479321ccfbc1492913df12154f91d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/bisect-kit/+/2874817 Tested-by: Zheng-Jie Chang <zjchang@chromium.org> Auto-Submit: Zheng-Jie Chang <zjchang@chromium.org> Commit-Queue: Kuang-che Wu <kcwu@chromium.org> Reviewed-by: Kuang-che Wu <kcwu@chromium.org>
diff --git a/setup_cros_bisect.py b/setup_cros_bisect.py index e8c13c2..d736bbc 100755 --- a/setup_cros_bisect.py +++ b/setup_cros_bisect.py
@@ -92,6 +92,8 @@ def is_btrfs_subvolume(path): + if os.path.islink(path): + return False if util.check_output('stat', '-f', '--format=%T', path).strip() != 'btrfs': return False return util.check_output('stat', '--format=%i', path).strip() == '256'