diff options
author | Karel Zak | 2018-02-01 12:25:39 +0100 |
---|---|---|
committer | Karel Zak | 2018-02-01 12:25:39 +0100 |
commit | 117d079199a723d06cfd4daee386a0e54423e8ba (patch) | |
tree | d08a06d1f2094de75e4e7b58afcbb605c1f91b5d /lib | |
parent | Merge branch 'libblkid-atari' of https://github.com/yontalcar/util-linux (diff) | |
download | kernel-qcow2-util-linux-117d079199a723d06cfd4daee386a0e54423e8ba.tar.gz kernel-qcow2-util-linux-117d079199a723d06cfd4daee386a0e54423e8ba.tar.xz kernel-qcow2-util-linux-117d079199a723d06cfd4daee386a0e54423e8ba.zip |
lib/exec_shell: cleanup function attributes
Reported-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/exec_shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exec_shell.c b/lib/exec_shell.c index a7374bd33..b2f178add 100644 --- a/lib/exec_shell.c +++ b/lib/exec_shell.c @@ -30,7 +30,7 @@ #define DEFAULT_SHELL "/bin/sh" -void exec_shell(void) +void __attribute__((__noreturn__)) exec_shell(void) { const char *shell = getenv("SHELL"); char *shellc = xstrdup(shell); |