Skip to content

Commit

Permalink
String operator test
Browse files Browse the repository at this point in the history
Travis error  SC2071: > is for string comparisons. Use -gt instead.
Change to !=
  • Loading branch information
OneOfTheInfiniteMonkeys authored Jan 8, 2023
1 parent d18fb09 commit 1dc5ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdinfo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ d_ndy=$(( ($(date +%s ) - $(date --date="$d_mdt"/1 +%s)) / (86400) )) #
if [[ $cmd_table = "y" ]] ; then
# Table output
printf "MID : %s\n" "$d_mid"
if [[ $d_mid_aka > "" ]] ; then
if [[ $d_mid_aka != "" ]] ; then
if [[ $cmd_additional = "y" ]] ; then
printf "AKA : %s\n" "$d_mid_aka"
fi
Expand Down

0 comments on commit 1dc5ae8

Please sign in to comment.