aboutsummaryrefslogtreecommitdiff
path: root/src/property/mount.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-07-10 19:02:50 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-07-10 21:49:23 -0700
commitb1b4001db08c9a0b094523df18d287336651eeef (patch)
treece0b5e962a73daf3790d496f8b6f16947ffe935f /src/property/mount.lisp
parent102214763c91bb4b4f75bccd28f0e481f5eed8f8 (diff)
downloadconsfigurator-b1b4001db08c9a0b094523df18d287336651eeef.tar.gz
factor out MOUNTPOINTP
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/mount.lisp')
-rw-r--r--src/property/mount.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/property/mount.lisp b/src/property/mount.lisp
index 21d5530..e0c3430 100644
--- a/src/property/mount.lisp
+++ b/src/property/mount.lisp
@@ -109,7 +109,7 @@ After mounting /sys, mount this when /sys/firmware/efi/efivars exists.")
(defun assert-devtmpfs-udev-/dev ()
"On a system with the Linux kernel, assert that /dev has fstype devtmpfs."
- (unless (and (zerop (mrun :for-exit "mountpoint" "-q" "/dev"))
+ (unless (and (mountpointp "/dev")
(string= "devtmpfs udev"
(stripln (run "findmnt" "-nro" "fstype,source" "/dev"))))
(failed-change