27 lines
793 B
Diff
27 lines
793 B
Diff
From ccaed629b1eff17aa5560c098c7ccae305565ba4 Mon Sep 17 00:00:00 2001
|
|
From: si-gui <245140120@qq.com>
|
|
Date: Fri, 18 Sep 2020 10:47:58 +0800
|
|
Subject: [PATCH] fix automount aborted when use -M
|
|
|
|
Signed-off-by: si-gui <245140120@qq.com>
|
|
---
|
|
daemon/automount.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/daemon/automount.c b/daemon/automount.c
|
|
index 05ec8a6..f0d1f08 100644
|
|
--- a/daemon/automount.c
|
|
+++ b/daemon/automount.c
|
|
@@ -2156,7 +2156,7 @@ int main(int argc, char *argv[])
|
|
time_t timeout;
|
|
time_t age = monotonic_time(NULL);
|
|
struct rlimit rlim;
|
|
- const char *options = "+hp:t:vmdD:fVrO:l:n:CFM";
|
|
+ const char *options = "+hp:t:vmdD:fVrO:l:n:CFM:";
|
|
static const struct option long_options[] = {
|
|
{"help", 0, 0, 'h'},
|
|
{"pid-file", 1, 0, 'p'},
|
|
--
|
|
2.23.0
|
|
|