case 'h':
action_type |= ACTION_USER_HIDDEN_STR;
break;
+ case '%':
+ /* literal '%' */
+ break;
default:
action_type = ACTION_ERROR;
break;
}
+ p++;
} else if (p[0] == '|') {
if (p[1] == '\0')
action_type |= ACTION_PIPE_OUT;
g_string_append(cmd, user_hidden_str);
p++;
break;
+ case '%':
+ g_string_append_c(cmd, p[1]);
+ p++;
+ break;
default:
g_string_append_c(cmd, p[0]);
g_string_append_c(cmd, p[1]);