~ubuntu-branches/ubuntu/trusty/systemd/trusty

« back to all changes in this revision

Viewing changes to src/ask-password/ask-password.c

Tags: upstream-202
ImportĀ upstreamĀ versionĀ 202

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
                        break;
103
103
 
104
104
                case ARG_TIMEOUT:
105
 
                        if (parse_usec(optarg, &arg_timeout) < 0) {
 
105
                        if (parse_sec(optarg, &arg_timeout) < 0) {
106
106
                                log_error("Failed to parse --timeout parameter %s", optarg);
107
107
                                return -EINVAL;
108
108
                        }