aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-05-31 10:35:40 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-05-31 22:05:25 +0200
commitb88dc3a41e54837b232cf9a5dad930e9f4749eb9 (patch)
tree730507c1200c971088b5c67d57ed722cde2770db
parent10983c363e4ccd7c82dc01607dbcb611150acfdc (diff)
downloadpodman-b88dc3a41e54837b232cf9a5dad930e9f4749eb9.tar.gz
podman-b88dc3a41e54837b232cf9a5dad930e9f4749eb9.tar.bz2
podman-b88dc3a41e54837b232cf9a5dad930e9f4749eb9.zip
rootless: fix return type
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r--pkg/rootless/rootless_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/rootless/rootless_linux.c b/pkg/rootless/rootless_linux.c
index 8608930dd..ec286a31f 100644
--- a/pkg/rootless/rootless_linux.c
+++ b/pkg/rootless/rootless_linux.c
@@ -180,7 +180,7 @@ can_use_shortcut ()
argv = get_cmd_line_args (0);
if (argv == NULL)
- return NULL;
+ return false;
for (argc = 0; argv[argc]; argc++)
{