Skip to content

Commit

Permalink
feat(fos-mount): use mkdir -p
Browse files Browse the repository at this point in the history
  • Loading branch information
CherryKitten committed Jul 2, 2024
1 parent fa5b52f commit 2d4d964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fos-mount
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
for partition_id in $(fos-partitions); do
mkdir "/mnt/${partition_id}"
mkdir -p "/mnt/${partition_id}"
mount "/dev/disk/by-uuid/${partition_id}" "/mnt/${partition_id}" -o uid=1000,gid=1000
done

Expand Down

0 comments on commit 2d4d964

Please sign in to comment.