]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
switch_root: (man) fix return code description
authorKarel Zak <kzak@redhat.com>
Tue, 2 Aug 2022 08:55:16 +0000 (10:55 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 2 Aug 2022 08:58:42 +0000 (10:58 +0200)
Fixes: https://github.com/util-linux/util-linux/issues/1761
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/switch_root.8.adoc

index 3331ea368cc81783281772343762e391192c53cf..fdeedf3bed40a72f2c8446bdc9c1c792c189745a 100644 (file)
@@ -28,7 +28,7 @@ include::man-common/help-version.adoc[]
 
 == EXIT STATUS
 
-*switch_root* returns 0 on success and 1 on failure.
+*switch_root* returns 1 on failure, it never returns on success.
 
 == NOTES