Browse code

kamctl: set Path to '.' when parameter not set for 'ul add'

Daniel-Constantin Mierla authored on 02/07/2020 07:09:47
Showing 1 changed files
... ...
@@ -2652,12 +2652,12 @@ usrloc() {
2652 2652
 				UL_EXPIRES=0
2653 2653
 				UL_FLAGS=0
2654 2654
 				BR_FLAGS=0
2655
-				UL_PATH=0
2655
+				UL_PATH="."
2656 2656
 			elif [ $# -eq 4 ] ; then
2657 2657
 				UL_EXPIRES=$4
2658 2658
 				UL_FLAGS=0
2659 2659
 				BR_FLAGS=0
2660
-				UL_PATH=0
2660
+				UL_PATH="."
2661 2661
 			elif [ $# -eq 5 ] ; then
2662 2662
 				UL_EXPIRES=$4
2663 2663
 				UL_FLAGS=0