Skip to content

Commit b0cb892

Browse files
committed
Fix hash generator script
1 parent 1fb62ed commit b0cb892

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
AC_INIT([systemd-boot-password],[0.9.0.232])
1+
AC_INIT([systemd-boot-password],[0.9.1.232])
22

33
AC_CONFIG_MACRO_DIR([m4])
44
AC_CONFIG_AUX_DIR([build-aux])

src/sbp-generate

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ function hash() {
1212
printf "%s" "$password" | sha512sum | grep -Po [0-9a-fA-F]{128}
1313
}
1414

15-
hash1=`hash "Enter password"`
16-
hash2=`hash "Retype password"`
15+
hash1=`hash "Enter password"` || exit 1
16+
hash2=`hash "Retype password"` || exit 1
1717

1818
if [ "$hash1" == "$hash2" ]; then
1919
echo "password $hash1"

0 commit comments

Comments
 (0)