From: 諏訪子 Date: Sun, 15 Sep 2024 12:48:34 +0000 (+0900) Subject: ごめん X-Git-Tag: sp-1.4.0~6 X-Git-Url: http://10.11.0.4:5575/?a=commitdiff_plain;h=d825f2fa90d64bee35a4ccdca023c537a6b90cbb;p=sp.git ごめん --- diff --git a/src/delpass.c b/src/delpass.c index 9ad21d7..62bbe87 100644 --- a/src/delpass.c +++ b/src/delpass.c @@ -132,7 +132,7 @@ int delpass(char *file, int force) { if (unlink(pwfile) == -1) { if (strncmp(lang, "en", 2) == 0) perror("Password cannot be deleted"); - else perror("パスワードを削除出来ませんですた"); + else perror("パスワードを削除出来ませんでした"); return -1; } diff --git a/src/initpass.c b/src/initpass.c index fba98ce..0eab1b5 100644 --- a/src/initpass.c +++ b/src/initpass.c @@ -43,7 +43,6 @@ void initpass(char *gpgid) { if (strncmp(lang, "en", 2) == 0) perror("Failed to write .gpg-id file."); else perror(".gpg-idファイルを書き込めません。"); - fclose(gpgidfile); return; } @@ -56,6 +55,7 @@ void initpass(char *gpgid) { } fclose(gpgidfile); + if (strncmp(lang, "en", 2) == 0) puts("Initialization completed."); else puts("初期設定に完了しました。");