summaryrefslogtreecommitdiff
path: root/src/efi-boot-generator
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2015-05-29 17:13:12 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2015-05-29 17:42:44 +0200
commite26d6ce517a49c246141ed20528614823c2f5799 (patch)
tree1c69999b21f15b189c3e7d21fb5dd766bf75835b /src/efi-boot-generator
parent5d409034017e9f9f8c4392157d95511fc2e05d87 (diff)
path-util: Change path_is_mount_point() symlink arg from bool to flags
This makes path_is_mount_point() consistent with fd_is_mount_point() wrt. flags.
Diffstat (limited to 'src/efi-boot-generator')
-rw-r--r--src/efi-boot-generator/efi-boot-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/efi-boot-generator/efi-boot-generator.c b/src/efi-boot-generator/efi-boot-generator.c
index 42b21f57de..e6b15c9bb0 100644
--- a/src/efi-boot-generator/efi-boot-generator.c
+++ b/src/efi-boot-generator/efi-boot-generator.c
@@ -68,7 +68,7 @@ int main(int argc, char *argv[]) {
return EXIT_SUCCESS;
}
- r = path_is_mount_point("/boot", true);
+ r = path_is_mount_point("/boot", AT_SYMLINK_FOLLOW);
if (r > 0) {
log_debug("/boot is already a mount point, exiting.");
return EXIT_SUCCESS;