]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bus-util: drop unnecessary !!
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 25 Jun 2018 07:19:32 +0000 (16:19 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 29 Jun 2018 01:38:31 +0000 (10:38 +0900)
src/shared/bus-util.c

index acbc98ad2a544d9c437ad7dc68fd5ded6eef637c..8b02c6be268b2da9f116022b9e32b95a44827766 100644 (file)
@@ -500,7 +500,7 @@ int bus_verify_polkit_async(
         if (r < 0)
                 return r;
 
-        r = sd_bus_message_append(pk, "us", !!interactive, NULL);
+        r = sd_bus_message_append(pk, "us", interactive, NULL);
         if (r < 0)
                 return r;