summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-01-16 09:45:15 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-01-16 09:45:15 (EST)
commit1833c31d3148ab3b43c4833733fe9fefd73d22b2 (patch)
tree66e0aaa048a0bb136a24eee650266cb34941ac9b
parentc01264a7a1e476db16fe3c59d90ed75f96fa2ada (diff)
profile_make_initramfs(): Return 0
This was probably meant as a default case if the kernel is unsupported, but it's the only return statement in the function.
-rw-r--r--src/profile/proteanos.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh
index e224692..761f9b5 100644
--- a/src/profile/proteanos.sh
+++ b/src/profile/proteanos.sh
@@ -440,7 +440,7 @@ prof_proteanos_make_initramfs()
session_begin . . true
session_exec run-parts /etc/kernel/postinst.d
session_end
- return 1
+ return 0
}
prof_proteanos_register()