aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/xtgettcap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/xtgettcap.c b/utils/xtgettcap.c
index 069a9ecb..82ee0085 100644
--- a/utils/xtgettcap.c
+++ b/utils/xtgettcap.c
@@ -141,6 +141,9 @@ main(int argc, const char *const *argv)
const char *key = strtok(key_value, "=");
const char *value = strtok(NULL, "=");
+ if (key == NULL)
+ continue;
+
#if 0
assert((success && value != NULL) ||
(!success && value == NULL));