diff options
author | Simon Rettberg | 2024-02-01 23:05:43 +0100 |
---|---|---|
committer | Simon Rettberg | 2024-02-01 23:05:43 +0100 |
commit | 534b9739cda14a07fc5ffe3f2334e92a0b87b979 (patch) | |
tree | 51c80eb07f30c01fa36d2ae2f48c4f4895c3826f /core/modules | |
parent | [vbox-src] Need bash (diff) | |
download | mltk-534b9739cda14a07fc5ffe3f2334e92a0b87b979.tar.gz mltk-534b9739cda14a07fc5ffe3f2334e92a0b87b979.tar.xz mltk-534b9739cda14a07fc5ffe3f2334e92a0b87b979.zip |
Make useradd and groupadd return 0
These functions will perror on error, so make sure on success we return
0, even though checking the return value is useless...
Diffstat (limited to 'core/modules')
-rw-r--r-- | core/modules/dnbd3-proxy-mode/module.build | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/modules/dnbd3-proxy-mode/module.build b/core/modules/dnbd3-proxy-mode/module.build index 6027ceeb..9a920069 100644 --- a/core/modules/dnbd3-proxy-mode/module.build +++ b/core/modules/dnbd3-proxy-mode/module.build @@ -8,6 +8,5 @@ build() { } post_copy() { - useradd --system --user-group --no-create-home --groups "fuse" "dnbd3" \ - || perror "Cannot create user dnbd3 with supp. group fuse" + useradd --system --user-group --no-create-home --groups "fuse" "dnbd3" } |