Skip to content

Commit 05109eb

Browse files
ao2smcv
authored andcommitted
bubblewrap: Fix wording in die() messages
Use more correct wording in some die() messages. While at it remove a double space in one of the messages. Signed-off-by: Antonio Ospite <antonio.ospite@collabora.com>
1 parent e1ff104 commit 05109eb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bubblewrap.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2635,16 +2635,16 @@ main (int argc,
26352635
die ("--userns-block-fd requires --info-fd");
26362636

26372637
if (opt_userns_fd != -1 && opt_unshare_user)
2638-
die ("--userns not compatible --unshare-user");
2638+
die ("--userns is not compatible with --unshare-user");
26392639

26402640
if (opt_userns_fd != -1 && opt_unshare_user_try)
2641-
die ("--userns not compatible --unshare-user-try");
2641+
die ("--userns is not compatible with --unshare-user-try");
26422642

26432643
if (opt_disable_userns && !opt_unshare_user)
26442644
die ("--disable-userns requires --unshare-user");
26452645

26462646
if (opt_disable_userns && opt_userns_block_fd != -1)
2647-
die ("--disable-userns is not compatible with --userns-block-fd");
2647+
die ("--disable-userns is not compatible with --userns-block-fd");
26482648

26492649
/* We have to do this if we we're not root, so let's just DWIM */
26502650
if (getuid () != 0 && opt_userns_fd == -1)

0 commit comments

Comments
 (0)