Skip to content

Commit

Permalink
puavo-reset-windows: [refactor] fix not-well defined construct
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomasjjrasanen committed Oct 8, 2024
1 parent f0ca7e5 commit 8d0d22e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parts/ltsp/puavo-install/puavo-reset-windows
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ reset_all_wins()
returnval=0

while IFS= read -r -d $'\0' win_c_partition_devpath; do
if [ -z "${g_win_c_partition_devpath}" -o "${g_win_c_partition_devpath}" = "${win_c_partition_devpath}" ]; then
if [ -z "${g_win_c_partition_devpath}" ] || [ "${g_win_c_partition_devpath}" = "${win_c_partition_devpath}" ]; then
reset_win "${win_c_partition_devpath}" || {
returnval=1
}
Expand Down

0 comments on commit 8d0d22e

Please sign in to comment.