aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/android/setprop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/android/setprop.c b/toys/android/setprop.c
index cbcd152b..f29a868a 100644
--- a/toys/android/setprop.c
+++ b/toys/android/setprop.c
@@ -41,7 +41,7 @@ void setprop_main(void)
if (strstr(name, ".."))
error_exit("'..' is not allowed in a property name");
for (p = name; *p; ++p)
- if (!isalnum(*p) && !strchr("_.-", *p))
+ if (!isalnum(*p) && !strchr("@_.-", *p))
error_exit("invalid character '%c' in name '%s'", *p, name);
if (property_set(name, value))